// JavaScript Document//************************** Beginning of File ************* LayerWindow.js 

function loadcharset(){
if(is.ie || is.op9)  document.charset="x-user-defined"
//else document.characterSet="iso-8859-1"
/*alert(	"is.ns = "+is.ns+"\n"+
			"is.ns4 = "+is.ns4+"\n"+
			"is.ns5 = "+is.ns5+"\n"+
			"is.ie = "+is.ie+"\n"+
			"is.ie4 = "+is.ie4+"\n"+
			"is.ie5 = "+is.ie5+"\n"+
			"is.ie55 = "+is.ie55+"\n"
			+"window.document.characterSet = "+window.document.characterSet+"\n"
			+"window.document.charset = "+window.document.charset
			);*/
			init()
}
var LL 
function init(){
	LL = new DynLayer('LL')
	}
function hideLL(){
LL.hide()
}


var commonPrefix1='<table width="100%" border="1" cellspacing="0" cellpadding="0" bgcolor="#F9F2F2"><tr><td><table width="100%" border="0" cellspacing="0" cellpadding="2" height="28"><tr><td width="7%" class="C5"  valign="top"> ';
var commonPrefix2='</td><td class="C5">';

function selector(contentNum){
	var suffix='<br><a href="javascript:;" onClick="hideLL()"><p class="C4">Close</p></a></td></tr> </table></td></tr></table>';
	var prefix=commonPrefix1+contentNum+commonPrefix2;
	var contentARG="text"+contentNum;
	contentARG=eval(contentARG);
	LengthOfString=contentARG.length;
	//alert(LengthOfString);
	var fullContent = prefix+contentARG+suffix;
	var layerWidth=300;
	if(LengthOfString>=250) {
		if(is.ie){
		layerWidth=document.body.clientWidth-30;
		//alert("document.body.clientWidth = " + document.body.clientWidth)
		}
		else if(is.ns&&!is.ns4) {
		layerWidth=window.innerWidth-30;
		//alert("window.innerWidth = "+window.innerWidth)
		}
	}
		LL.show();
		LL.css.width=layerWidth;
		LL.y=5+document.body.scrollLeft;
		LL.moveTo(15, (110+document.body.scrollTop))
		LL.write(fullContent);
		return false
}

function info_not_href(content){
	var suffix='<br><a href="javascript:;" onClick="hideLL()"><p class="C4">Close</p></a></td></tr> </table></td></tr></table>';
	var prefix=commonPrefix1+commonPrefix2;
	LengthOfString=content.length;
	//alert(LengthOfString);
	var fullContent = prefix+content+suffix;
	var layerWidth=300;
	if(LengthOfString>=250) {
		if(is.ie || is.op9){
		layerWidth=document.body.clientWidth-30;
		//alert("document.body.clientWidth = " + document.body.clientWidth)
		}
		else if(is.ns&&!is.ns4) {
		layerWidth=window.innerWidth-30;
		//alert("window.innerWidth = "+window.innerWidth)
		}
	}
		LL.show();
		LL.css.width=layerWidth;
		LL.y=5+document.body.scrollLeft;
		LL.moveTo(0, (60+document.body.scrollTop))
		LL.write(fullContent);
		//return false
}