﻿sse_modalWindow = function()
{
    var MSIE;
    var msgClassType = 'warningDiv';
    var msgContent = '';
	if(navigator.userAgent.indexOf('MSIE')>=0) this.MSIE = true;
	

}

/**
* @constructor
*/

sse_modalWindow.prototype = {


    showMessage : function()
    {
       //alert(this.valueOf);
       
        document.getElementById('blockingBackground').className = 'darkenBackground';
        document.getElementById('blockingBackground').style.display = 'block';
        document.getElementById('msgDiv').className = this.msgClassType;
        document.getElementById('msgDiv').style.display = 'block';
        document.getElementById('msgDivContent').style.display = 'block';
        document.getElementById('msgDivContent').innerHTML = this.msgContent;
       
        window.refToModMessage = this;

    }
    ,

    hideMessage : function()
    {
        document.getElementById('blockingBackground').style.display = 'none';
        document.getElementById('msgDiv').style.display = 'none';
        document.getElementById('msgDiv').className = '';
        document.getElementById('msgDivContent').style.display = 'none';

    }
    ,
    
    setMsgClassType : function(msgType)
	{
		this.msgClassType = msgType;
		
	}	
		
	,
	
	 setMsgContent : function(msg)
	{
		this.msgContent = msg;
		
	}	
		
}
