// ====== This page contains code that is Copyright Ferant.com 2003 =====
var _464	= '';
var _463 = '';
var _462 = 1;
var _461 = false;
var _460 = false;
var _468 = false;
var _458 = new Object();
var _457	= new Object();
var _456	= new Object();
var _455	= new Object();
var _454	= new Object();

var _569 = (navigator.appName=="Netscape")?'_452':'_568';

	_450	= 0;
	_449	= 0;
	_448 = 0;
	_447 = 0;
	_446 = 0;
	_445 = 0;	

function _610(){	
	
	for(x in _609)
		eval('this.' + _609[x] + ' = this.' + _470[x]);
}
	
function FerantDHTMLWindow(params){

	this._441 = 'FerantDHTMLWindow1'; 
	
	this._440 = 10;
	this._439 = 10;	
	this._438 = 11;
	this._437 = 'verdana,arial';
	this._436 = 'Bold';
	this._435 = 'white';
	this._434 = 'Normal'; 
	this._433 = 10;
	this._432 = 'verdana,arial';;
	this._431 = 'Normal';
	this._430 = 'black';
	this._429 = 'Normal'; 
	this._428 = 10;
	this._427 = 'verdana,arial';
	this._426 = 'Normal';
	this._425 = 'black';
	this._424 = 'Normal'; 
	this._423  = 'White';
	this._422  = 'Transparent';
	this._421  = 3;
	this._420  = 16;
	this._419  = 'images/ferant/closebox.gif';
	this._418  = 16;
	this._417  = 'white';
	this._416  = 'Transparent';
	this._415  = '';	
	this._414  = 5;
	this._413  = 'Both';
	this._412  = 200;
	this._411  = 'Gray';
	this._410  = 'solid';
	this._409  = 1;
	this._408  = -1;
	this._407  = 0;
	this._406  = 0;
	this._405  = 0;
	this._404  = 0;
	this._403  = 'Gray';
	this._402  = 'Transparent';
	this._401  = 'Solid';
	this._400  = 1;
	this._399  = 'Both';
	this._398  = 15;
	this._397  = 'images/ferant/resize_blue.gif';
	this._396  = 15;
	this._395  = 20;
	this._394  = 'Transparent';
	this._393  = '';
	this._392  = 5;
	this._391  = 'Center';
	this._390  = 'Silver';
	this._389  = 20;
	this._388  = '';
	this._387  = 'Normal';
	this._386  = 'Center';
	this._385  = 'Navy';
	this._384  = 'Transparent';
	this._383  = -1;
	this._382  = 300;	
	this._610 = _610;	

	this._610();

	for(x in params)
		this[_609[x]] = params[x];	
	
	this._562	= parseInt(this._567 - this._561)/2;
	
	this._378  = true;	
	if(this._527 == 0 || this._526 == 0 || this._527 == '' || this._565 == 0) this._378  = false;

	this._374  = true;	
	if(this._561 == 0 || this._553 == 0 || this._561 == '' || this._567 == 0) this._374  = false;
	
	if(typeof(_458[this._372])=='string'){
 		alert("Error! \n\nTwo Ferant DHTM windows found with the same id: '" + this._372 + "'. Each window must have a unique id.") 
 		return
 	}
 	
 	_458[this._372] = this._372;  	

	this._590 = document.createElement("div");
	this._590.setAttribute("id","_370" + this._372); 
	this._590.style.position = "absolute";  
	this._590.style.display = "none";
	this._590.style.overflow = "hidden";
	this._590.style.borderStyle = this._513;
	this._590.style.borderWidth = this._572 + 'px';
	this._590.style.borderColor = this._584;
	this._590.style.backgroundColor = this._591;

	this._586 = document.createElement("span");
	this._586.setAttribute("id","_364f_Title_"); 
	this._586.style.position = "absolute";  
	this._586.style.left = this._566 +  "px"; 
	this._586.style.top = this._566 + "px"; 
	this._586.style.display = "none"; 
	this._586.style.backgroundColor=this._600;
	this._586.style.cursor='default';
	this._586.style.borderColor = this._588;
	this._586.style.borderStyle='solid';
	this._586.style.borderWidth=this._570 + 'px';
	this._586.style.overflow="hidden";
	
	this._586.style.fontSize = this._563 + 'px';
	this._586.style.fontFamily = this._473;
	this._586.style.fontWeight = this._491;
	this._586.style.color = this._485;
	this._586.style.fontStyle = this._479; 
	if(_569=='_568')
		this._586.style.height = this._567   + 2 * this._570  + 'px';
	else
		this._586.style.height = this._567  + 'px';
	this._586.innerHTML = this._560.replace(/</g,'&lt;').replace(/>/g,'&gt;');
	this._586.style.textAlign  = this._515;
	this._586.style.whiteSpace = 'nowrap';
	this._586.style.paddingTop = Math.max(0,parseInt((this._567 - this._563 )/2) - 1);


	this._555 = document.createElement("span");
	this._555.style.position = "absolute";  
	this._555.style.left = "0px";
	this._555.style.display = "none";  
	this._555.style.top = "0px";
	this._555.style.height = this._561 + "px";
	this._555.style.width = this._553 + "px";
	this._555.style.cursor = "hand";
	this._555.style.overflow = "hidden";
	this._555.innerHTML = "<img src='" + this._554 + "' height = " + 
							this._561 + " width = " + this._553 + " id='_552'>";

	this._605 = document.createElement("div");
	this._605.setAttribute("id","_348" + this._372); 
	this._605.style.backgroundColor = this._582; 
	this._605.style.position = "absolute"; 
	this._605.style.display = "none"; 
	this._605.innerHTML = this._606;
	this._605.style.left = this._566  + 'px';
	this._605.style.top = parseInt(this._566) + parseInt(this._567) + parseInt(this._570) + 'px';
	this._605.style.borderColor = this._588; 	
	this._605.style.borderStyle = this._511;
	this._605.style.borderWidth = this._570  + 'px';
	this._605.style.whiteSpace = this._501; 
	this._605.style.overflow='auto';
	this._605.style.padding = this._503 + 'px ' + this._503 + 'px ' +
										this._503 + 'px ' + this._503 + 'px';
																				
	this._605.style.fontSize = this._497  + 'px';
	this._605.style.fontFamily = this._477;
	this._605.style.fontWeight = this._495;
	this._605.style.color = this._489;
	this._605.style.fontStyle = this._483; 

	this._587 = document.createElement("div"); 
	this._587.style.display = "none"; 
	this._587.style.position = "absolute"; 
	this._587.style.overflow = "hidden"; 
	this._587.style.left=this._566  + 'px';
	this._587.style.backgroundColor=this._598; 
	if (this._565 >0) this._587.style.paddingTop = Math.max(0,parseInt((this._565 - this._558 )/2) - 1);

	this._587.style.borderColor = this._588; 	
	this._587.style.borderStyle='solid';
	this._587.style.borderWidth=this._570 + 'px';
	
	this._587.style.fontSize = this._558  + 'px';
	this._587.style.fontFamily = this._475;
	this._587.style.fontWeight = this._493;
	this._587.style.color = this._487;
	this._587.style.fontStyle = this._481; 
	this._587.innerHTML = this._557.replace(/</g,'&lt;').replace(/>/g,'&gt;');
	this._587.style.textAlign  = this._518;
	this._587.style.whiteSpace = 'nowrap';	

	this._531 = document.createElement("span");
	this._531.style.position = "absolute";  
	this._531.style.left = "0px"; 
	this._531.style.height = this._527 + "px";
	this._531.style.width = this._526 + "px";
	this._531.style.cursor = "nw-resize";
	this._531.style.display = "none";
	this._531.innerHTML = "<img src='" + this._528 + "' height = " + this._527 + 
									" width=" + this._526 + " id='_524'>";

	this._325 = document.createElement("div");
	this._325.style.backgroundColor = "transparent";  
	this._325.style.position = "absolute"; 
	this._325.style.cursor = "nw-resize"; 
	this._325.style.width = "11px"; 
	this._325.style.height = "11px"; 
	this._325.style.overflow = "hidden";  
	this._325.innerHTML = "&nbsp;";
	this._325.style.display = "none";

	this._590.appendChild(this._586);
	this._590.appendChild(this._605);
	document.body.appendChild(this._531);
	this._590.appendChild(this._587);

	document.body.appendChild(this._325);
	document.body.appendChild(this._590);
	document.body.appendChild(this._555);

	this._324 = _324;
	this._323 = _323;
	this._322 = _322;
	this._321 = _321;
	this._320 = _320;
	
	this.UpdateTitleBarText = UpdateTitleBarText;
	this.UpdateContentHTML = UpdateContentHTML;
	this.UpdateStatusBarText = UpdateStatusBarText;
	this.OpenWindow = OpenWindow; 
	this.CloseWindow = CloseWindow;
	
	this._319 = false;
}

var _609 = new Object();

	_609.Id = '_372';
	_609.StatusLeftMargin = '_593';
	_609.TitleLeftMargin = '_595';
	_609.BorderColor  = '_591';
	_609.BorderInactiveColor  = '_574' ;
	_609.BorderWidth  = '_566';
	_609.CloseBoxHeight  = '_561' ;
	_609.CloseBoxSrc  = '_554' ;
	_609.CloseBoxWidth  = '_553';
	_609.ContentColor  = '_582';
	_609.ContentInactiveColor  = '_580' ;
	_609.ContentHTML  =  '_606';
	_609.ContentPadding  = '_503';
	_609.Dragable  = '_505';
	_609.Height  = '_544' ;
	_609.InnerBorderColor  = '_588' ;
	_609.InnerBorderStyle  = '_511' ;
	_609.InnerBorderWidth  = '_570' ;
	_609.Left  = '_548' ;
	_609.MaxHeight  = '_536' ;
	_609.MaxWidth  = '_540' ;
	_609.MinHeight  = '_534' ;
	_609.MinWidth  = '_538' ;
	_609.OuterBorderColor  = '_584' ;
	_609.OuterBorderInactiveColor  = '_578' ;
	_609.OuterBorderStyle  = '_513' ;
	_609.OuterBorderWidth  = '_572' ;
	_609.Resizable  = '_532' ;
	_609.ResizeBoxHeight  = '_527' ;
	_609.ResizeBoxSrc = '_528' ;
	_609.ResizeBoxWidth  = '_526' ;
	_609.StatusBarHeight  = '_565' ;
	_609.StatusBarInactiveColor  = '_509' ;
	_609.StatusBarText  = '_557' ;
	_609.StatusBarTextMargin  = '_304' ;
	_609.StatusBarAlign  = '_518' ;
	_609.StatusColor  = '_598' ;
	_609.TitleBarHeight  = '_567' ;
	_609.TitleBarText  = '_560' ;
	_609.ContentNoWrap  = '_501' ;
	_609.TitleBarAlign  = '_515' ;
	_609.TitleColor  = '_600' ;
	_609.TitleBarInactiveColor  = '_507' ;
	_609.Top  = '_546' ;
	_609.Width  = '_542' ;	
	_609.TitleFontSize  = '_563' ;
	_609.TitleFontFamily  = '_473' ;
	_609.TitleFontWeight  = '_491' ;
	_609.TitleFontColor  = '_485' ;
	_609.TitleFontStyle   = '_479' ;
	_609.ContentFontSize  = '_497' ;
	_609.ContentFontFamily  = '_477' ;
	_609.ContentFontWeight  = '_495' ;
	_609.ContentFontColor  = '_489' ;
	_609.ContentFontStyle   = '_483' ;
	_609.StatusFontSize  = '_558' ;
	_609.StatusFontFamily  = '_475' ;
	_609.StatusFontWeight  = '_493' ;
	_609.StatusFontColor  = '_487' ;
	_609.StatusFontStyle   = '_481' ;
	
	var _470 = new Object();

	_470.Id = '_441';
	_470.StatusLeftMargin = '_440';
	_470.TitleLeftMargin = '_439';
	_470.BorderColor  = '_423';
	_470.BorderInactiveColor  = '_422' ;
	_470.BorderWidth  = '_421';
	_470.CloseBoxHeight  = '_420' ;
	_470.CloseBoxSrc  = '_419' ;
	_470.CloseBoxWidth  = '_418';
	_470.ContentColor  = '_417';
	_470.ContentInactiveColor  = '_416' ;
	_470.ContentHTML  =  '_415';
	_470.ContentPadding  = '_414';
	_470.Dragable  = '_413';
	_470.Height  = '_412' ;
	_470.InnerBorderColor  = '_411' ;
	_470.InnerBorderStyle  = '_410' ;
	_470.InnerBorderWidth  = '_409' ;
	_470.Left  = '_408' ;
	_470.MaxHeight  = '_407' ;
	_470.MaxWidth  = '_406' ;
	_470.MinHeight  = '_405' ;
	_470.MinWidth  = '_404' ;
	_470.OuterBorderColor  = '_403' ;
	_470.OuterBorderInactiveColor  = '_402' ;
	_470.OuterBorderStyle  = '_401' ;
	_470.OuterBorderWidth  = '_400' ;
	_470.Resizable  = '_399' ;
	_470.ResizeBoxHeight  = '_398' ;
	_470.ResizeBoxSrc = '_397' ;
	_470.ResizeBoxWidth  = '_396' ;
	_470.StatusBarHeight  = '_395' ;
	_470.StatusBarInactiveColor  = '_394' ;
	_470.StatusBarText  = '_393' ;
	_470.StatusBarTextMargin  = '_392' ;
	_470.StatusBarAlign  = '_391' ;
	_470.StatusColor  = '_390' ;
	_470.TitleBarHeight  = '_389' ;
	_470.TitleBarText  = '_388' ;
	_470.ContentNoWrap  = '_387' ;
	_470.TitleBarAlign  = '_386' ;
	_470.TitleColor  = '_385' ;
	_470.TitleBarInactiveColor  = '_384' ;
	_470.Top  = '_383' ;
	_470.Width  = '_382' ;	
	_470.TitleFontSize  = '_438' ;
	_470.TitleFontFamily  = '_437' ;
	_470.TitleFontWeight  = '_436' ;
	_470.TitleFontColor  = '_435' ;
	_470.TitleFontStyle   = '_434' ;
	_470.ContentFontSize  = '_433' ;
	_470.ContentFontFamily  = '_432' ;
	_470.ContentFontWeight  = '_431' ;
	_470.ContentFontColor  = '_430' ;
	_470.ContentFontStyle   = '_429' ;
	_470.StatusFontSize  = '_428' ;
	_470.StatusFontFamily  = '_427' ;
	_470.StatusFontWeight  = '_426' ;
	_470.StatusFontColor  = '_425' ;
	_470.StatusFontStyle   = '_424' ;
	
	var _471 = new Object();

	_471.StatusLeftMargin = false;
	_471.TitleLeftMargin = false;
	_471.BorderColor  = true;
	_471.BorderInactiveColor  = true ;
	_471.BorderWidth  = false;
	_471.CloseBoxHeight  = false ;
	_471.CloseBoxSrc  = true ;
	_471.CloseBoxWidth  = false;
	_471.ContentColor  = true;
	_471.ContentInactiveColor  = true ;
	_471.ContentHTML  =  true;
	_471.ContentPadding  = false;
	_471.Dragable  = true;
	_471.Height  = false ;
	_471.InnerBorderColor  = true ;
	_471.InnerBorderStyle  = true ;
	_471.InnerBorderWidth  = false ;
	_471.Left  = false ;
	_471.MaxHeight  = false ;
	_471.MaxWidth  = false ;
	_471.MinHeight  = false ;
	_471.MinWidth  = false ;
	_471.OuterBorderColor  = true ;
	_471.OuterBorderInactiveColor  = true ;
	_471.OuterBorderStyle  = true ;
	_471.OuterBorderWidth  = false ;
	_471.Resizable  = true ;
	_471.ResizeBoxHeight  = false ;
	_471.ResizeBoxSrc  = true ;
	_471.ResizeBoxWidth  = false ;
	_471.StatusBarHeight  = false ;
	_471.StatusBarInactiveColor  = true ;
	_471.StatusBarText  = true ;
	_471.StatusBarTextMargin  = false ;
	_471.StatusBarAlign  = true ;
	_471.StatusColor  = true ;
	_471.TitleBarHeight  = false ;
	_471.TitleBarText  = true ;
	_471.ContentNoWrap  = true ;
	_471.TitleBarAlign  = true ;
	_471.TitleColor  = true ;
	_471.TitleBarInactiveColor  = true ;
	_471.Top  = false ;
	_471.Width  = false ;	
	_471.TitleFontSize  = false ;
	_471.TitleFontFamily  = true ;
	_471.TitleFontWeight  = true ;
	_471.TitleFontColor  = true ;
	_471.TitleFontStyle   = true ;
	_471.ContentFontSize  = false ;
	_471.ContentFontFamily  = true ;
	_471.ContentFontWeight  = true ;
	_471.ContentFontColor  = true ;
	_471.ContentFontStyle   = true ;
	_471.StatusFontSize  = false ;
	_471.StatusFontFamily  = true ;
	_471.StatusFontWeight  = true ;
	_471.StatusFontColor  = true ;
	_471.StatusFontStyle   = true ;	

function OpenWindow(){ 

	_461 = false;
	_460 = false;

	if ( this._372 != _464){
		if(_464 != '') {
			_463 = _464; 
			eval(_463 + '._320();')
		}
		_464 = this._372;
	}

	if(!this._319) this._322();
	
	if(this._527 == 0 || this._526 == 0 || this._528 == '' || 
									this._565 == 0 || this._532 == 'None') 
		this._378  = false;
	else
		this._378  = true;
				
  if(this._561 == 0 || this._553 == 0 || this._554 == '' || this._567 == 0) 
		this._374  = false;
  else
		this._374  = true;		

	var x=0; 
	var y=0; 
	var h=this._544; 
	var w=this._542;	
	
	if( this._546 == -1){	
		if(_569=='_568')
			y = document.body.offsetHeight/2 - this._544/2 + document.body.scrollTop;
		else
			y = window.innerHeight/2 - this._544/2 + window.pageYOffset;
	}else{	
		if(_569=='_568')
			y = this._546 + document.body.scrollTop;
		else
			y = this._546 + window.pageYOffset;;
	}	
	
	if( this._548 == -1){
		if(_569=='_568')
			x = document.body.offsetWidth/2 - this._542/2 + document.body.scrollLeft;
		else
			x = window.innerWidth/2 - this._542/2 + window.pageXOffset;
	}else{	
		if(_569=='_568')
			x = this._548 + document.body.scrollLeft;
		else
			x = this._548 + window.pageXOffset;
	}	
	
  	this._605.style.display = 'block'; 
  	this._586.style.display = 'block';
  	if(this._374){	
			this._555.style.display='block';
	} else { 
		this._555.style.display='none';
	}
	
	if (this._532  != 'none' && this._378)	
		this._531.style.display='block';
	else
		this._531.style.display='none';
	
	this._325.style.display = (this._532.toLowerCase() == 'none' || this._378 )? "none" : "block";
		
	if(this._565 > 0) this._587.style.display = 'block';	

	this._590.style.display = 'block'; 	 	
 	
	this._590.style.zIndex=++_462;
	this._531.style.zIndex=++_462;
	this._325.style.zIndex=++_462;
	this._555.style.zIndex=++_462;
	this._531.style.zIndex=++_462;		
	
	var paddingTitleTop = Math.max(0,parseInt((this._567 - this._563 - 1)/2));		
	
	this._586.style.padding = paddingTitleTop + 'px 0px 0px ' + this._595 + 'px';
	
	if(_569=='_568')	
		this._586.style.height=this._567 + 2*this._570;
	else
		this._586.style.height=this._567 - paddingTitleTop;

	if (this._565 >0){
		var paddingStatusTop = Math.max(0,parseInt((this._565 - this._558 - 1)/2));
	
	this._587.style.padding = paddingStatusTop + 'px 0px 0px ' + this._593 + 'px';
		
	if(_569=='_568')	
		this._587.style.height=this._565 + 2*this._570;
	else
		this._587.style.height=this._565 - paddingStatusTop;
	}		
	
	if(!_468){		 
		_457[this._372] = x;
		_456[this._372] = y;
		_455[this._372] = h;
		_454[this._372] = w;		
			
		this._324(w,h,true);
		this._323(x,y,true);
	}
	else{
	
		this._324(_454[this._372],_455[this._372],true);
		this._323(_457[this._372] ,_456[this._372],true);		
	}		
		this._321();	
		
		_299(this._372);
	
} 

function _322(){ 
	this._319 = true;	
 	
 	_298 = this._372;
  	
	this._586.onmousedown = new Function("_297", "if(_464 != '" + _298 + "' && _463 != '') {" +
	"_463 = _464; _464 = '" + _298 + "'; eval(_464 + '._321();'); eval(_463 + '._320();')} else" +
	"{ _464 = '" + _298 + "';} _296(_297); return false;");

		
	if(this._374) this._555.onmousedown = new Function("if(_464 != '" + _298 + "' && _464 != '') " +
		"_463 = _464; _464 = '" + _298 + "'; " +
		"  if(_463!='') eval(_463 + '._321();'); " +
		"eval('" + _298 + "' + '.CloseWindow();'); if(_463 != '') _464 = _463; _463 = '';");

	this._590.onmousedown = new Function(" if(_464 != '" + _298 + "' && _463 != '') {" +
		"_463 = _464; _464 = '" + _298 + "'; eval(_464 + '._321();'); eval(_463 + '._320();')} else" +
		"{ _464 = '" + _298 + "';} _295() ");
	
	if (this._532  != 'none')	this._531.onmousedown = new Function("_297","if(_464 != '" + _298 + 
		"' && _463 != '') {" + "_463 = _464; _464 = '" + _298 + 
		"'; eval(_464 + '._321();'); eval(_463 + '._320();')} else" +
		"{ _464 = '" + _298 + "';} _294(_297); return false;");
		
	if (this._532  != 'none')	this._325.onmousedown = new Function("_297","if(_464 != '" + 
		_298 + "' && _463 != '') {" + "_463 = _464; _464 = '" + _298 + 
		"'; eval(_464 + '._321();');_295(); eval(_463 + '._320();')} else" +
		"{ _464 = '" + _298 + "';} _294(_297); return false;");
		
 }
 
document.onmousemove = _293;
document.onmouseup = new Function("_460 = false; _461 = false;");
			
function _293(_297){ if(_460 == false && _461 == false) return true; 
	if(_464!='')
	{
		if(_569=='_568'){
			if(event.button !=1 )
			{
				_460 = false; 
				_461 = false; 
				return true;
			}
		}
		
		_292 = (_569=='_568')?event.clientX + document.body.scrollLeft:_297.pageX;
		_291= (_569=='_568')?event.clientY + document.body.scrollTop:_297.pageY;	
		window.setTimeout("_290()",10);

		if(_460 || _461 )
		{
			if(_569=='_568') event.returnValue = false; 
			return false;
		} 
	}
	
	return false;
}

function UpdateTitleBarText(TitleBarText){
	this._586.innerHTML = TitleBarText.replace(/</g,'&lt;').replace(/>/g,'&gt;');	
}
 
 function UpdateContentHTML(ContentHTML){
	this._605.innerHTML = ContentHTML;	
}
 
 function UpdateStatusBarText(StatusBarText){
	this._587.innerHTML = StatusBarText.replace(/</g,'&lt;').replace(/>/g,'&gt;');	
}	
 	
function _321(){ 		
	this._586.style.backgroundColor = this._600;
	this._590.style.borderColor= this._584;
	this._590.style.backgroundColor = this._591;

	this._587.style.backgroundColor = this._598; 
	this._605.style.backgroundColor = this._582;
 } 
 
 function _320(){ 	
 
 	if(this._507 != 'Transparent')
		this._586.style.backgroundColor = this._507;		
 
	if(this._578 != 'Transparent') 
		this._590.style.borderColor = this._578;
		
	if(this._566 > 0 && this._574 !='Transparent') 
		this._590.style.backgroundColor = this._574;		

	
		
	if(this._509 != 'Transparent')	
		this._587.style.backgroundColor = this._509;
			
		
	if(this._580 != 'Transparent')
		 this._605.style.backgroundColor = this._580;
			
	_299(this._372);					
 } 
 
 function CloseWindow() { 	
	this._590.style.display='none';
  	this._605.style.display='none';
  	this._586.style.display='none';
    this._531.style.display='none';
    this._325.style.display='none';
	this._587.style.display='none';
	this._555.style.display='none';
 	
  	_299(this._372);
 } 

 function _323(x,y,_289){ 
	x=parseInt(x);
	y=parseInt(y); 
 	
 	var _288 = _289;
 	if(this._505 == 'VerticalOnly' || this._505 == 'Both') _288 = true;
 	
 	var _287 = _289;
 	if(this._505 == 'HorizontalOnly' || this._505 == 'Both') _287 = true; 	
 	
	if(_287){ this._590.style.left	= x + 'px'; _457[this._372] = x;}
	if(_288){ this._590.style.top	= y + 'px'; _456[this._372] = y;}

	if(typeof(x)!='number') x = parseInt(x);
	if(typeof(y)!='number')  y = parseInt(y);	

	if(_287) this._325.style.left	= (x - 9 + parseInt(this._590.style.width)) + 'px';
	if(_288) this._325.style.top	= (y - 9 + parseInt(this._590.style.height)) + 'px';

	if(_287 && this._374)	this._555.style.left = x + _454[this._372]-2*this._572 -2*this._566 -2*this._570  - this._553 - 
				this._562 + this._566 + this._572 +this._570;
	if(_288 && this._374)	this._555.style.top = y + this._562 + this._566 + this._572 +this._570;
	
	if(_287 && this._378) this._531.style.left = _457[this._372] + _454[this._372] - 
			this._572 - this._566 - this._570 - this._527;
	
	if(_288 && this._378) this._531.style.top = _456[this._372] + _455[this._372] - 
		this._572 - this._566 - this._570 - this._526;		
		
	window.setTimeout('_299("' + this._372 +'")',50);	
 }
 	
function _324(w,h,_289){	
	w = Math.max(w , 2*this._572 + 2*this._566 + 2*this._570 + this._562 + this._553);
	
	h = Math.max(h ,this._565 + 2*this._572 +2*this._566 + 3*this._570 + parseInt(this._567));

	if(this._536 > 0) h = Math.min(h , this._536);
	if(this._534 > 0) h = Math.max(h , this._534);
	if(this._540 > 0) w = Math.min(w , this._540);
	if(this._538 > 0) w = Math.max(w , this._538);
 	_286 = _289;
	if(this._532  == 'Both' || this._532  == 'VerticalOnly')	_286 = true;
 	var _285 = _289;
	if(this._532  == 'Both' || this._532  == 'HorizontalOnly')	_285 = true;	
	
	if(_569=='_568'){
		if(_285)	this._590.style.width=w;
		if(_286)	this._590.style.height=h;
	}else{	
		if(_285) this._590.style.width=w-2*this._572; 
		if(_286) this._590.style.height=h-2*this._572;
	}     

	if(_285) _454[this._372] = w;
	if(_286) _455[this._372] = h;
	  
	if(_285 && this._374)	this._555.style.left = _457[this._372] + w-2*this._572 -2*this._566 -
				2*this._570  - this._553 - 
				this._562 + this._566 + this._572 +this._570;
	if(_286 && this._374)	this._555.style.top= _456[this._372] + this._562 + 
					this._566 + this._572 +this._570;
												
	if(_285 && _569=='_568')	this._586.style.width=w -2*this._572-2*this._566;
	if(_285 && _569!='_568')	this._586.style.width=w -2*this._572 
											-2*this._566 -2*this._570 - parseInt(this._595);
													
	if(_569=='_568'){
		if(_285)	this._605.style.width = w -2*this._572 - 2*this._566;
	}else{
		if(_285)	this._605.style.width = w - 2*this._503  -2*this._572 -
															 2*this._566 -2*this._570;
	}
	
	if(_286){
		if(this._565 > 0){
			if(_569=='_568')
				this._605.style.height = h - this._565 - this._567 - 2*this._566 -
					2*this._572 - 2*this._570;
			else
				this._605.style.height = h - 
					this._565 - 2*this._503 - this._567 - 2*this._566 - 
					2*this._572 - 4*this._570;
		}else{
 			if(_569=='_568')
 				this._605.style.height = h - this._565 - this._567 - 2*this._566 -2 *this._572 - this._570;
 			else
 				this._605.style.height = h  - 
 					this._565 - 2*this._503 - this._567 - 2*this._566 - 
 					2*this._572 - 3*this._570;
		}
	}
	
	if(_285 && this._565 > 0 && _569=='_568')	 this._587.style.width = w - 2*this._572 - 2*this._566 ;
	if(_285 && this._565 > 0 && _569!='_568')	 this._587.style.width = w - 
		2*this._572 - 2*this._566 - 2*this._570 - parseInt(this._593);
																					
	if(_286 && this._565 > 0)	this._587.style.top	= h  - 2*this._572 - this._566 - 2*this._570 - this._565 ;

	if(_285 && this._378) this._531.style.left = _457[this._372] + _454[this._372] - 
			this._572 - this._566 - this._570 - this._527;
	
	if(_286 && this._378) this._531.style.top = _456[this._372] + _455[this._372] - 
		this._572 - this._566 - this._570 - this._526;		
																			  
	if(_285 && !_289 && !this._378 && this._532  != 'none') this._325.style.left	= (parseInt(this._590.style.left) - 9 + w) +'px';
	if(_286 && !_289 && !this._378 && this._532  != 'none') this._325.style.top	= (parseInt(this._590.style.top)  - 9 + h) + 'px';
 
	window.setTimeout('_299("' + this._372 +'")',50);
 }
  
 function _290(){   

 	if(_461){		
 		var x= _292 + _448;
 		var y = _291+ _447;			
 		eval(_464 + "._323('" + x + "','" + y + "',false);");		
 	}	
 		
 	if(_460){	 			
 		var _284=_292 + _446;
 		var _283=_291 + _445;
 		eval(_464 + "._324('" + _284 + "','" + _283 + "',false);");
 	}
 	     
	 _299();
 	 
 	 if(_460 || _461  ) return false;
 }
 
 function _294(_297){	

 	if(_569=='_568'){
 		_446 = parseInt(eval(_464 + "._590.style.width")) - event.clientX - document.body.scrollLeft;
 		_445 = parseInt(eval(_464 + "._590.style.height")) - event.clientY - document.body.scrollTop; 
	}else{ 	
 		_446 = parseInt(eval(_464 + "._590.style.width")) - _297.pageX;
 		_445 = parseInt(eval(_464 + "._590.style.height")) - _297.pageY; 
 	}

	_295();

 	_460 = true; 	
 	

 }
 
 function _296(_297){  
	
	if(_569=='_568'){	
		_448 = parseInt(eval(_464 + "._590.style.left;")) - event.clientX - document.body.scrollLeft;
		_447 = parseInt(eval(_464 + "._590.style.top;")) - event.clientY - document.body.scrollTop; 
	}else{
		_448 = parseInt(eval(_464 + "._590.style.left;")) - _297.pageX;
		_447 = parseInt(eval(_464 + "._590.style.top;")) - _297.pageY; 
	}
		
 	_461 = true;

 }
 
 function _295(){     

 	eval(_464 + "._590.style.zIndex=++_462;");
 	eval(_464 + "._325.style.zIndex=++_462;");
 	eval(_464 + "._555.style.zIndex=++_462;");
 	eval(_464 + "._531.style.zIndex=++_462;"); 		 		
 	
 	_299(this._372);
}

  function _282(_281){ 
	var _280 = "_348";  
	if(_281.indexOf(_280)!=0) return "";
	return _281.substring(_280.length);  
 }
  	
  	
 function _279(_278,_277,_276,_275, _274){ 
 for (_273 in _458)  //"_370" + this._372
 	{  

 	if( document.getElementById('_370' + _458[_273]).style.display!='none' && 
 	((_278 <= _457[_273] && _457[_273] <= _278 + _276) || ( _457[_273] <= _278 && _278 <= _457[_273] + _454[_273])) && 
 	((_277 <= _456[_273] && _456[_273] <= _277 + _275) || ( _456[_273] <= _277 && _277 <= _456[_273] + _455[_273]))) 
 	{
 	if (_274 == '') return true;  
 	
 	if (document.getElementById('_370' + _274).style.zIndex < document.getElementById('_370' + _458[_273]).style.zIndex) return true;
 	}
 	}
 	return false;
 }
 	
 function _272(_271){
	var _270 = 0;
	if (_271.offsetParent){
		while (_271.offsetParent){
			_270 += _271.offsetLeft;
			_271 = _271.offsetParent;
		}
	}else if(_271.x){ 
		_270 += _271.x;
	}
	
	return _270;
 }
 
 function _269(_271){
	var _268  = 0;
	if (_271.offsetParent){
		while (_271.offsetParent){
			_268 += _271.offsetTop;
			_271 = _271.offsetParent;
		}
	}else if (_271.y){ 
		_268 += _271.y;
	}
	
	return _268;
 }
  
 function _299(id) {
	if(_569 != '_568') return;
	_267 = document.getElementsByTagName('s' + 'e' + 'l' + 'e' + 'c' + 't'); 
	var _274;
	var _266 = false;
	
	for(_265=0; _265 < _267.length; _265++){
		_271 = _267[_265];
		_266 = false;
		_274 = '';

		while (_271.parentElement && _266!=true && _274 == ''){
			_271 = _271.parentElement; 
			if(_271.id == "_348" + id){  
 				_266 = true;
				_267[_265].style.visibility='visible'; 
			}
			_274 = _282(_271.id); 
		}
 
		if(_266!=true){
			_264 = _272(_267[_265]);
			_263 = _269(_267[_265]);    	
			_262 = _267[_265].offsetWidth;
			_261 = _267[_265].offsetHeight; 
	
			if(_279(_264, _263 ,_262, _261, _274))  
				_267[_265].style.visibility='hidden'; 
			else
				_267[_265].style.visibility='visible'; 
		}
		
		}
 } 
