var	is_opera=window.opera!==undefined;var	is_ie=document.all!==undefined&&window.opera===undefined;var is_ie6p=document.compatMode!==undefined&&document.all!==undefined&&window.opera===undefined;var is_ie7=document.documentElement!==undefined&&document.documentElement.style.maxHeight!==undefined;var is_ie6=is_ie6p&&!is_ie7;var is_ff2p=window.Iterator!==undefined;var is_ff3p=document.getElementsByClassName!==undefined;var is_ff2=is_ff2p&&!is_ff3p
function getHeight(){return computeDimension('height');}
function getWidth(){return computeDimension('width');}
function computeDimension(dt){var computedWidth=0,computedHeight=0;if(typeof(window.innerWidth)=='number'){computedWidth=window.innerWidth;computedHeight=window.innerHeight;}
else if(document.documentElement&&(document.documentElement.clientWidth||document.documentElement.clientHeight)){computedWidth=document.documentElement.clientWidth;computedHeight=document.documentElement.clientHeight;}
else if(document.body&&(document.body.clientWidth||document.body.clientHeight)){computedWidth=document.body.clientWidth;computedHeight=document.body.clientHeight;}
if(dt=='height')return computedHeight;if(dt=='width')return computedWidth;}


function HelpWindowBox(msgcode){
	hb=document.getElementById("helpwindow");
	if(hb!=null){
		var iframewindow="<div class=\"helpwindowpop\" ><iframe frameborder=\"0\" id=\"Frame\" src=\""+msgcode+"\" width=\"412\" height=\"230\" border=\"0\"></iframe></div><a href=\"#\" onClick=\"Close(); return false;\"><img src=\"resource/img/spacer.png\" border=\"1\" class=\"helpwindowclose\" alt=\"Close\"></a><a href=\"#\" onClick=\"HelpWindowBox('"+msgcode+"'); return false;\"><img src=\"resource/img/spacer.png\" border=\"1\" class=\"helpwindowreturn\" alt=\"Return\"></a>";
		hb.innerHTML=iframewindow;
	}

	document.getElementById("helpwindow").style.position='fixed';sc=false;
	if(!is_ie6&&!sc) return false;else return true;
}

function PageDisplayBox(msgcode){
	hb=document.getElementById("helpwindow");
	if(hb!=null){
		var iframewindow="<div class=\"pagedisplaypop\" ><iframe frameborder=\"0\" id=\"Frame\" src=\""+msgcode+"\" width=\"660\" height=\"370\" border=\"0\"></iframe></div><a href=\"#\" onClick=\"Close(); return false;\"><img src=\"resource/img/spacer.png\" border=\"1\" class=\"pagedisplayclose\" alt=\"Close\"></a><a href=\"#\" onClick=\"PageDisplayBox('"+msgcode+"'); return false;\"><img src=\"resource/img/spacer.png\" border=\"1\" class=\"pagedisplayreturn\" alt=\"Return\"></a>";
		hb.innerHTML=iframewindow;
	}

	document.getElementById("helpwindow").style.position='fixed';sc=false;
	if(!is_ie6&&!sc) return false;else return true;
}


function Close(){hb=document.getElementById("helpwindow");if(hb!=null){hb.innerHTML='';}}
function CloseAndRefresh(){
          hb=document.getElementById("helpwindow");
          if(hb!=null){hb.innerHTML='';}
          location.reload(true);

}




