/* -- Adobe GoLive JavaScript Library */

CSInit = new Array;
function CSScriptInit() {
if(typeof(skipPage) != "undefined") { if(skipPage) return; }
idxArray = new Array;
for(var i=0;i<CSInit.length;i++)
	idxArray[i] = i;
CSAction2(CSInit, idxArray);}
CSStopExecution=false;
function CSAction(array) {return CSAction2(CSAct, array);}
function CSAction2(fct, array) { 
	var result;
	for (var i=0;i<array.length;i++) {
		if(CSStopExecution) return false; 
		var aa = fct[array[i]];
		if (aa == null) return false;
		var ta = new Array;
		for(var j=1;j<aa.length;j++) {
			if((aa[j]!=null)&&(typeof(aa[j])=="object")&&(aa[j].length==2)){
				if(aa[j][0]=="VAR"){ta[j]=CSStateArray[aa[j][1]];}
				else{if(aa[j][0]=="ACT"){ta[j]=CSAction(new Array(new String(aa[j][1])));}
				else ta[j]=aa[j];}
			} else ta[j]=aa[j];
		}			
		result=aa[0](ta);
	}
	return result;
}
CSAct = new Object;
function CSClickReturn () {
	var bAgent = window.navigator.userAgent; 
	var bAppName = window.navigator.appName;
	if ((bAppName.indexOf("Explorer") >= 0) && (bAgent.indexOf("Mozilla/3") >= 0) && (bAgent.indexOf("Mac") >= 0))
		return true; /* dont follow link */
	else return false; /* dont follow link */
}


// A Michael Ahgren action - copyright 2002 WindowInnerSize 1.1
function CSWindowInnerSizeInit(action){
if (navigator.userAgent.indexOf("Opera")==-1){
var xCorr=0
var yCorr=0
if(navigator.userAgent.indexOf("Mozilla/4")!=-1&&navigator.userAgent.indexOf("Mac")!=-1){
xCorr=-15
yCorr=-30
}
if (action[3]){
maxSizeWindow(action)
}else{
	if (document.all ){
	top.window.resizeTo(screen.availWidth,screen.availHeight);
	var xChrome=screen.availWidth-document.body.clientWidth
	var yChrome=screen.availHeight-document.body.clientHeight
	changeX=action[4]-document.body.clientWidth
	changeY=action[5]-document.body.clientHeight
	top.window.resizeBy(changeX,changeY) 
}
else if ((document.layers||document.getElementById)&&!document.all){
	top.window.resizeTo(screen.availWidth,screen.availHeight);
	 top.window.innerHeight = action[5]+yCorr
 	top.window.innerWidth = action[4]+xCorr
}
if (action[6]){
	if (document.all){
		window.moveTo(parseInt(screen.availWidth/2-(action[4]+xChrome)/2),parseInt(screen.availHeight/2-(action[5]+yChrome)/2))
	}
	else if (document.layers||(document.getElementById&&!document.all)){
		window.moveTo(parseInt(screen.availWidth/2-window.outerWidth/2),parseInt(screen.availHeight/2-window.outerHeight/2))
}
}else{
	window.moveTo(action[1],action[2])
}
}
}

function maxSizeWindow(){
window.moveTo(0,0);

if (document.all){
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById){
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
{
 top.window.outerHeight = screen.availHeight;
 top.window.outerWidth = screen.availWidth;
}
}
}
}
// 

