function $ES(ID){
		return document.getElementById(ID);
	}
var corpopediaUtil = function(){}
corpopediaUtil = {
		isIE : function () {
		if (!window.ActiveXObject)
			return false;
		try {
			new ActiveXObject("Microsoft.XMLDOM");
			return true;
		} catch (err) {
			return false;
		}
	}
	}
	
function SendViewUI(){}

SendViewUI.prototype = {
		init : function(){
				if(!$ES('sendView')){ //if not found sendView DOM
						var iframe = document.createElement('iframe');
						iframe.id = 'sendView';
						iframe.frameBorder = 0;
						iframe.border = 0;
						iframe.width = "100%";
						iframe.height = document.body.scrollHeight==0 ? window.screen.availHeight +'px': document.body.scrollHeight;
						
						if(corpopediaUtil.isIE()){//IE
							iframe.style.filter = "alpha(opacity:" + 60 + ")"; 
							}else{
								iframe.style.opacity  = 0.6; 
								}
						document.body.appendChild(iframe);
						
					}else{
						$ES('sendView').style.display = 'block';
						}
			}
	}

