var offSetLeft=0;
var offSetTop=0;  
var topBoundary=0;
var leftBoundary=0;
var rightBoundary=0;
var bottomBoundary=0;
var scnHeight=0;
var scnWidth=0;
var divList = new Array(0);
var targetAction = new Object;
var sgTargetAction = new Object;
var AgntUsr=navigator.userAgent.toLowerCase();
var AppVer=navigator.appVersion.toLowerCase();
var DomYes=document.getElementById?1:0;
var NavYes=AgntUsr.indexOf("mozilla")!=-1&&AgntUsr.indexOf("compatible")==-1?1:0;
var ExpYes=AgntUsr.indexOf("msie")!=-1?1:0;
var Opr=AgntUsr.indexOf("opera")!=-1?1:0;
var Opr6orless=window.opera && navigator.userAgent.search(/opera.[1-6]/i)!=-1;
if(Opr){
	NavYes=1;
	ExpYes=0;
}
var DomNav=DomYes&&NavYes?1:0;
var DomExp=DomYes&&ExpYes?1:0;
var Nav4=NavYes&&!DomYes&&document.layers?1:0;
var Exp4=ExpYes&&!DomYes&&document.all?1:0;
var Exp6Plus=(AppVer.indexOf("msie 6")!= -1||AppVer.indexOf("msie 7")!= -1)?1:0;
var Exp50=(AppVer.indexOf("msie 5.0")!= -1)?1:0;

var fdShowRolloversFlag = 0;

function getScreen(){
 if (DomNav && !Exp50){
  scnHeight = window.innerHeight;
  scnWidth = window.innerWidth;
 } else if (Exp50) {
  scnHeight=document.body.clientHeight;
  scnWidth=document.body.clientWidth;
 } else {
  scnHeight=document.documentElement.clientHeight;
  scnWidth=document.documentElement.clientWidth;
 }
}
function setPosition(){
 if (useCentering == 0) return;
 getScreen();
 if (useCentering ==1 || useCentering == 2){
 	offSetLeft=Math.ceil((scnWidth-pageWidth)/2);
 	if (offSetLeft<0) offSetLeft=0;
 	rightBoundary=offSetLeft+pageWidth;
 } else {
 	offSetLeft=0; 	
 	rightBoundary=scnWidth;
 }
 if (useCentering ==1 || useCentering == 3){
 	offSetTop=Math.ceil((scnHeight-pageHeight)/2);
  if (offSetTop<0) offSetTop=0;
  bottomBoundary=offSetTop+pageHeight;
 } else {
	offSetTop=0;
	bottomBoundary=scnHeight;
 }
}
function rePosition(){
 if (ExpYes == 1){
  divList = document.all.tags('div');
 }else{
  divList = document.getElementsByTagName('div');
 }
 getScreen();
 if (useCentering ==1 || useCentering == 2){
  newOffSetLeft=Math.ceil((scnWidth-pageWidth)/2);
  if (newOffSetLeft<0) newOffSetLeft=0;
 	rightBoundary=newOffSetLeft+pageWidth;
 } else {
	newOffSetLeft=0;
 	rightBoundary=scnWidth;
 }
 if (useCentering ==1 || useCentering == 3){
	newOffSetTop=Math.ceil((scnHeight-pageHeight)/2);
  if (newOffSetTop<0) newOffSetTop=0;
  bottomBoundary=newOffSetTop+pageHeight;
 } else {
	newOffSetTop=0;
  bottomBoundary=scnHeight;
 }
 diffSetLeft=newOffSetLeft-offSetLeft;
 diffSetTop=newOffSetTop-offSetTop;
 for (i=0;i<divList.length;i++){
  itmName=divList[i].id;
  if (itmName != ""){
   itm = findObj(itmName);
   if (ExpYes == 1){
    newLeft=itm.style.pixelLeft + diffSetLeft;
    newTop=itm.style.pixelTop + diffSetTop;
    itm.style.pixelLeft = newLeft;
    itm.style.pixelTop = newTop;
   } else {
    newLeft=parseInt(itm.style.left,10) + diffSetLeft;
    newTop=parseInt(itm.style.top,10) + diffSetTop;
    itm.style.left = newLeft+"px";
    itm.style.top = newTop+"px";
   }
   if (itm.hasScroller) scrollerReposition(itmName.substring(3),newOffSetTop);
  }
 }		
 offSetLeft=newOffSetLeft;
 offSetTop=newOffSetTop;
 if (loadNavigationScript == 1) RePos();
 if (activeMouseCount>-1) resetRegisterObjectTracking();
}
function urlReplace(newURL){
 if (Exp50 == 1){
  document.location.replace(newURL);
 } else {
  document.location=newURL;
 }
}
function loadURL(targetScript,targetParameters, targetType, targetWindow){
 if (targetType == 0){
	urlReplace(targetScript);
 } else if (targetType ==1){
  window.open(targetScript, targetWindow, targetParameters);
 }
}
function loadPage(targetPageNumber,SSL){
	if (SSL == 1){
 		newURL = sslSiteReference + '?dpl=' + targetPageNumber;
	} else {
		newURL = siteReference + '?dpl=' + targetPageNumber;
	}
	urlReplace(newIRL);
 }
function runJavaScript(targetScript){
 eval(targetScript);
}
function findObj(name) {
 var obj;
 if (DomYes){
 	obj = document.getElementById(name);
 } else if (document.all){
	obj = document.all[name];
 } else if (document.layers) {
 	obj = document.layers[name];
 }
 return obj;
}
function swapImage(imageID) {
 if (fdShowRolloversFlag == 0){	
 	return false;
 } else {
 	if ((x=findObj(imageID))!=null){
  	if (!x.oSrc) {
    	x.oSrc=x.src; 
    	tmp=swpImg[imageID];
  	} else {
  		tmp=x.oSrc;
  		x.oSrc=x.src;
  	}
  	x.src=tmp;
 	}
 }
}
function imageToLeft(sect,targetCoord,func){
	if (findObj(sect).runtimeStyle){
		itm=findObj(sect).style;
		if(itm.pixelLeft>targetCoord+offSetLeft){
			itm.pixelLeft=itm.pixelLeft-scrollStep;		
			nextCall="imageToLeft('"+sect+"',"+targetCoord+",'"+func+"')";
			timer=setTimeout(nextCall,scrollSpeed);
		} else {
			itm.pixelLeft=targetCoord+offSetLeft;		
			eval(func);
		}
	} else {
		itm=findObj(sect).style;
		posX = itm.left;
		if (posX.indexOf('px')) posX = posX.substring(0,posX.indexOf('px'));
		posY=Number(posX);
		if(posY>targetCoord+offSetLeft){
			posY = posY-scrollStep;
			itm.left=posY + 'px';		
			nextCall="imageToLeft('"+sect+"',"+targetCoord+",'"+func+"')";
			timer=setTimeout(nextCall,scrollSpeed);
		} else {
			itm.left=targetCoord+offSetLeft;		
			eval(func);
		}
	}
}
function imageToRight(sect,targetCoord,func){
	if (findObj(sect).runtimeStyle){
		itm=findObj(sect).style;
		if(itm.pixelLeft<targetCoord+offSetLeft){
			itm.pixelLeft=itm.pixelLeft+scrollStep;		
			nextCall="imageToRight('"+sect+"',"+targetCoord+",'"+func+"')";
			timer=setTimeout(nextCall,scrollSpeed);
		} else {
			itm.pixelLeft=targetCoord+offSetLeft;		
			eval(func);
		}
	} else {
		itm=findObj(sect).style;
		posX = itm.left;
		if (posX.indexOf('px'))	posX = posX.substring(0,posX.indexOf('px'));
		posY=Number(posX);
		if(posY<targetCoord+offSetLeft){
			posY = posY+scrollStep;
			itm.left=posY + 'px';		
			nextCall="imageToRight('"+sect+"',"+targetCoord+",'"+func+"')";
			timer=setTimeout(nextCall,scrollSpeed);
		} else {
			itm.left=targetCoord+offSetLeft;		
			eval(func);
		}
	}
}
var transSet = new Array(0)
function execTrans(sect,duration,trans,func){
	itm=findObj(sect);
  itm.style.filter = "revealTrans(duration=" + duration + ",transition=" + trans + ")";
  startState = itm.style.visibility;
  if (startState == 'hidden'){
		endState = 'visible';
	} else {
		endState = 'hidden';
	}
	itm.filters.item(0).Apply();
  itm.style.visibility = endState;
  itm.filters.item(0).play();
	transCheck(sect,duration,trans,func);
}
function transCheck(sect,duration,trans,func){
	clearInterval(transSet[sect]);
	itm = findObj(sect);
	transStatus=itm.filters.item(0).status;
	if (transStatus == 0){
		eval(func);
	} else {
		nextCall="transCheck('"+sect+"',"+duration+","+trans+",'"+func+"')";
		transSet[sect]=setInterval(nextCall,100);
	}
}
function submitIT(opt,optForm){
	if ((x=findObj('submitType'))!=null) x.value=opt;
	if ((x=findObj(optForm))!=null) x.submit();
}
function resetIT(optForm){
	if ((x=findObj(optForm))!=null) x.reset();
}
function submitITEditor(opt,optForm){
	if ((x=findObj('submitType'))!=null) x.value=opt;		
	if ((x=findObj(optForm))!=null){
		x.onsubmit();
		x.submit();
	}
}
function setFieldFocus(fieldName){
	if ((x=findObj(fieldName))!=null){
		x.focus();
		x.select();		
	}
}
function showHelpTip(e, sHtml, bHideSelects) {
	var el = e.target || e.srcElement;
	while (el.tagName != "A") el = el.parentNode;	
	if (el._helpTip) helpTipHandler.hideHelpTip(el);
	helpTipHandler.hideSelects = Boolean(bHideSelects);
	helpTipHandler.createHelpTip(el, sHtml);	
	helpTipHandler.positionToolTip(e);
	el.onblur = helpTipHandler.anchorBlur;
	el.onkeydown = helpTipHandler.anchorKeyDown;
}
var helpTipHandler = {
	hideSelects:	false,	
	helpTip:		null,	
	showSelects:	function (bVisible) {
		if (!this.hideSelects) return;
		var selects = [];
		if (document.all) selects = document.all.tags("SELECT");
		var l = selects.length;
		for	(var i = 0; i < l; i++) selects[i].runtimeStyle.visibility = bVisible ? "" : "hidden";	
	},	
	create:	function () {
		var d = document.createElement("DIV");
		d.className = "help-tooltip";
		d.onmousedown = this.helpTipMouseDown;
		d.onmouseup = this.helpTipMouseUp;
		document.body.appendChild(d);		
		this.helpTip = d;
	},	
	createHelpTip:	function (el, sHtml) {
		if (this.helpTip == null)	this.create();
		var d = this.helpTip;
		d.innerHTML = sHtml;
		d._boundAnchor = el;
		el._helpTip = d;
		return d;
	},	
	helpTipMouseDown:	function (e) {
		var d = this;
		var el = d._boundAnchor;
		if (!e) e = event;
		var t = e.target || e.srcElement;
		while (t.tagName != "A" && t != d) t = t.parentNode;
		if (t == d) return;		
		el._onblur = el.onblur;
		el.onblur = null;
	},	
	helpTipMouseUp:	function () {
		var d = this;
		var el = d._boundAnchor;
		el.onblur = el._onblur;
		el._onblur = null;
		el.focus();
	},	
	anchorBlur:	function (e) {
		var el = this;
		helpTipHandler.hideHelpTip(el);
	},	
	anchorKeyDown:	function (e) {
		if (!e) e = window.event
		if (e.keyCode == 27) helpTipHandler.hideHelpTip(this);
	},	
	removeHelpTip:	function (d) {
		d._boundAnchor = null;
		d.style.filter = "none";
		d.innerHTML = "";
		d.onmousedown = null;
		d.onmouseup = null;
		d.parentNode.removeChild(d);
	},	
	hideHelpTip:	function (el) {
		var d = el._helpTip;
		d.style.visibility = "hidden";
		el.onblur = null;
		el._onblur = null;
		el._helpTip = null;
		el.onkeydown = null;
		this.showSelects(true);
	},	
	positionToolTip:	function (e) {
		this.showSelects(false);		
		var scroll = this.getScroll();
		var d = this.helpTip;		
		if (d.offsetWidth >= rightBoundary){
			d.style.width = rightBoundary - 10 + "px";
		} else {
			d.style.width = "";
		}
		if (e.clientX > rightBoundary - d.offsetWidth){
			d.style.left = rightBoundary - d.offsetWidth + scroll.left + "px";
		} else {
			d.style.left = e.clientX - 2 + scroll.left + "px";
		}
		if (e.clientY + d.offsetHeight + 18 < bottomBoundary){
			d.style.top = e.clientY + 18 + scroll.top + "px";
		} else if (e.clientY - d.offsetHeight > 0){
			d.style.top = e.clientY + scroll.top - d.offsetHeight + "px";
		} else {
			d.style.top = scroll.top + 5 + "px";			
		}
		d.style.visibility = "visible";
	},	
	getScroll:	function () {
		if (document.all && typeof document.body.scrollTop != "undefined"){
			var cont = Exp50 ? document.body : document.documentElement;
			return {
				left:	cont.scrollLeft,
				top:	cont.scrollTop
			};
		} else {
			return {
				left:	window.pageXOffset,
				top:	window.pageYOffset
			}
		}		
	}
}

var sLy = new Object;
function scrollerInit(divID,clipWidth,clipHeight,scrollerHeight,thumbTop,thumbLeft,thumbWidth,thumbImage){
	if (!DomYes) return;
	sLy[divID] = new Object;
	divT='div' + divID;
	sLy[divID]['lyr'] = findObj(divT);
	sLy[divID]['lyr'].hasScroller = true;
	sLy[divID]['container'] = findObj('divpseudo' + divID);
	sLy[divID]['height'] = 0;
	sLy[divID]['topper'] = 0;
	sLy[divID]['clipTop'] = 0;
	sLy[divID]['clipRight'] = clipWidth;
	sLy[divID]['clipBottom'] = clipHeight;
	sLy[divID]['height'] = sLy[divID]['lyr'].offsetHeight;
	sLy[divID]['lyr'].style.clip = 'rect('+0+'px '+clipWidth+'px '+clipHeight+'px 0px)';
	if (sLy[divID]['height'] > sLy[divID]['clipBottom']){
		sLy[divID]['lyr'].hasScrollBars = true;
		if ((x=findObj(divT + 'ScrollerUp'))!=null) x.style.visibility="visible";
		if ((x=findObj(divT + 'ScrollerLine'))!=null) x.style.visibility="visible";
		if ((x=findObj(divT + 'ScrollerDown'))!=null) x.style.visibility="visible";
		sLy[divID]['thumbTop'] = thumbTop;
		z=parseInt(((clipHeight/sLy[divID]['height'])*scrollerHeight));
		document.write('<div id="div'+divID+'ScrollerThumb" style="z-index:12;position:absolute;left:'+(offSetLeft+thumbLeft)+'px;top:'+(offSetTop+thumbTop)+'px;width:'+(thumbWidth)+'px;height:'+(z)+'px;border-style:none;margin:0px;padding:0px;text-align:left;vertical-align:top;visibility:visible;overflow:none;" ondragstart="return false;">');
		document.write('<img id="img'+divID+'ScrollerThumb" src="'+thumbImage+'" style="width:'+(thumbWidth)+'px;height:'+(z)+'px;border-width:0px;border-style:none;margin:0px;padding:0px;overflow:none;" alt=""><\/div>');
		sLy[divID]['thumbFactor'] = (scrollerHeight/sLy[divID]['height']);
		thumbName = divT + 'ScrollerThumb';
		sLy[divID]['thumb'] = findObj(thumbName);
		sLy[divID]['thumb'].thumbName = divID;
		sLy[divID]['thumb'].thumbTop = (offSetTop+thumbTop);
		sLy[divID]['thumb'].onmousedown = scrThumbDown;
	} else {
		sLy[divID]['lyr'].hasScrollBars = false;		
	}
}
var activeScr = null;
var scrOffset = 0;
function scrThumbMove(evt){
 if (!evt) var evt = window.event;
 if (!activeScr) {
 	return true;
 } else { 
  if (NavYes){
 		movDelta = evt.pageY - activeScr.thumbTop -scrOffset;
 	} else {
 		movDelta = event.clientY - activeScr.thumbTop - scrOffset;
 	}
	scrollLayerRedraw(activeScr.thumbName,movDelta)
 	return false;
 }
}
function scrThumbDown(evt){
 mousePositionTracking = false;
 scrollThumbFlag=true;
 activeScr = this;
 if (NavYes){
 	scrOffset = evt.layerY;
 	pgPos = evt.pageY;
 } else {
 	scrOffset = event.offsetY;
 	pgPos = event.clientY;
 }
 return false;
}
function scrThumbUp(evt){
 scrollThumbFlag=false;
 activeScr = null;
 mousePositionTracking = true;
} 
function scrollerReposition(divID,newOffSetTop){
	x=sLy[divID]['lyr'];
	x.style.top = (sLy[divID]['topper'])+'px';
	x.style.left = '0px';
	if (x.hasScrollBars)sLy[divID]['thumb'].thumbTop = (newOffSetTop+sLy[divID]['thumbTop']-parseInt(sLy[divID]['thumbFactor']*sLy[divID]['topper']));
}
function scrollLayer(divIDSource,amt){
	divID = divIDSource.substring(4,divIDSource.indexOf('Scroller'));
	scrollIt(divID,amt);
}
function scrollIt(divID,amt){
	scrollLayerRedraw(divID,amt);
	fnct = 'scrollIt("' + divID + '",'+amt+')';
	sLy[divID]['timer'] = setTimeout(fnct,100);
}
function scrollLayerRedraw(divID,amt){
	xT=(sLy[divID]['clipTop']+amt);
	xB=(sLy[divID]['clipBottom']+amt);
	if (xT>=0 && xB<=sLy[divID]['height']){
		sLy[divID]['clipTop'] = xT;
		sLy[divID]['clipBottom'] = xB;
		sLy[divID]['topper'] -= amt;
		x=sLy[divID]['lyr'].style;
		x.clip = 'rect('+xT+'px '+sLy[divID]['clipRight']+'px '+xB+'px 0px)';
		x.top = sLy[divID]['topper']+'px';
		x.left = '0px';
		y=sLy[divID]['thumb'];
		y.thumbTop = (offSetTop+sLy[divID]['thumbTop']-parseInt(sLy[divID]['thumbFactor']*sLy[divID]['topper']));
		y.style.top = y.thumbTop + 'px';
	}	
}
function scrollStop(divIDSource){
 if (!DomYes) return;
 divID = divIDSource.substring(4,divIDSource.indexOf('Scroller'));
 if (sLy[divID]['timer']) clearTimeout(sLy[divID]['timer']);
}

function getPage(){
 submitIT('getPage','pageManager');
}
function Dummy(){return;}
function positioning(){
 Dummy();
 if (loadNavigationScript == 1) makeMenu();
 Trigger.onresize=reDrawScreen;
}
function reDrawScreen(){
 rePosition();
 if (loadNavigationScript == 1){
  if (Nav4){
   ReDoWhole;
  } else {
   RePos
  }
 } else {
 	if (Nav4) Doc.location.reload();
 }
}
function toggleBlock(blockID,displayState){
 if ((x=findObj(blockID))!=null){
  listElementStyle=x.style;
  listElementStyle.display=displayState;
 }
}
function checkHeight(container,minHeight){
	if ((x=findObj(container))!=null){
		divHeight=x.offsetHeight;
		if (divHeight<minHeight) x.style.height=minHeight+'px';
	}
}
function adjustTop(sourceContainer,targetContainer, topMargin){
	if ((x=findObj(sourceContainer))!=null){
		zz1=x.style.height;
		if (zz1=='auto'){
			divHeight=x.offsetHeight;
		} else {
			divHeight=zz1.substring(0,zz1.indexOf('px'));
		}
		zz2=x.style.top;
		divTop=zz2.substring(0,zz2.indexOf('px'));
		newTop=Number(divTop)+Number(divHeight)+Number(topMargin);
		toggleBlock(targetContainer,'none');
		if ((y=findObj(targetContainer))!=null){
			if (ExpYes){
				zz3=y.style.height;
				yHeight=zz3.substring(0,zz3.indexOf('px'));
				newBottom=Number(newTop)+Number(yHeight);
				if (document.body.style.height<newBottom){
					document.body.style.height=newBottom;
				}
				y.runtimeStyle.top=newTop;
			} else {
				y.style.top=newTop+"px";
			}
		}
		toggleBlock(targetContainer,'block');
	}
}
var scrollThumbFlag=false;
var mousePositionTracking = true;
var activeObjectName="";
var activeMouseXCoord=-1;
var activeMouseYCoord=-1;
var activeMouseObjectID = new Array();
var activeMouseCount=-1;
var activeMouseCallouts = new Array();
var activeMouseOutCount=-1;
var activeMouseOutCallouts = new Array();
var activeMouseXL = new Array();
var activeMouseXR = new Array();
var activeMouseYT = new Array();
var activeMouseYB = new Array();
document.onmousemove = mouseTargetCheck;
document.onmouseout = trackMouseOut;
document.onmouseup = scrThumbUp;
function mouseTargetCheck(e){
	if (scrollThumbFlag){
		scrThumbMove(e);
	} else {
		trackMouse(e);
	}
}
//if (document.all) {
//	document.onselectstart = new Function('if (activeScr) return false');
//} else {
//	document.onselect = new Function('if (activeScr) return false');
//}
function registerObjectTracking(objName,mouseMoveFunction,mouseOutFunction){
	objTargets = new String(objName);
	objArray = objTargets.split(",");
	for (i=0;i<objArray.length;i++){	
		if ((x=findObj(objArray[i]))!=null){
			activeMouseCount++;
			activeMouseObjectID[activeMouseCount] = objName;
			activeMouseCallouts[activeMouseCount] = mouseMoveFunction;
			if (mouseOutFunction != "")	activeMouseOutCount++;				
			activeMouseOutCallouts[activeMouseCount] = mouseOutFunction;
			zz=x.style.left;
			zz1=zz.substring(0,zz.indexOf('px'));			
			activeMouseXL[activeMouseCount] = Number(zz1);
			zz=x.style.width;
			zz2=zz.substring(0,zz.indexOf('px'));			
			activeMouseXR[activeMouseCount] = Number(zz1) + Number(zz2);
			zz=x.style.top;
			zz1=zz.substring(0,zz.indexOf('px'));			
			activeMouseYT[activeMouseCount] = Number(zz1);
			zz=x.style.height;
			zz2=zz.substring(0,zz.indexOf('px'));			
			activeMouseYB[activeMouseCount] = Number(zz1) + Number(zz2);
		}
	}
}
function resetRegisterObjectTracking(){	
	for (i=0;i<=activeMouseCount;i++){	
		if ((x=findObj(activeMouseObjectID[activeMouseCount]))!=null){
			zz=x.style.left;
			zz1=zz.substring(0,zz.indexOf('px'));			
			activeMouseXL[i] = Number(zz1);
			zz=x.style.width;
			zz2=zz.substring(0,zz.indexOf('px'));			
			activeMouseXR[i] = Number(zz1) + Number(zz2);
			zz=x.style.top;
			zz1=zz.substring(0,zz.indexOf('px'));			
			activeMouseYT[i] = Number(zz1);
			zz=x.style.height;
			zz2=zz.substring(0,zz.indexOf('px'));			
			activeMouseYB[i] = Number(zz1) + Number(zz2);
		}
	}
}
function trackMouse(e){
	if (activeMouseCount==-1 || !mousePositionTracking) return false;
	if (!e) var e = window.event;
	if (NavYes){
		tX = e.pageX;
		tY = e.pageY;		
	} else {
		tX = e.clientX + document.body.scrollLeft;
		tY = e.clientY + document.body.scrollTop;
	}
 	activeMouseXCoord = tX;
 	activeMouseYCoord = tY;
	for (i=0;i<=activeMouseCount;i++){
		if ((activeMouseCallouts[i] != "") && (tX>=activeMouseXL[i] && tX<=activeMouseXR[i]) && (tY>=activeMouseYT[i] && tY<=activeMouseYB[i])){
			eval(activeMouseCallouts[i]);
			activeObjectName=activeMouseObjectID[i];
		}
	}
}
function trackMouseOut(e){
	if (activeMouseOutCount==-1) return false;
 	 for (i=0;i<=activeMouseCount;i++){
		if (activeMouseOutCallouts[i] != "" && activeObjectName==activeMouseObjectID[i]){
			eval(activeMouseOutCallouts[i]);
		}
	}
}
function pictureFullScreen(picURL,picTitle,picWidth,picHeight){
	indexDisplayOptions="toolbars=no,titlebar=no,width=" + picWidth + "px,height=" + picHeight + "px";	
	fullSizeWin=window.open("","",indexDisplayOptions);
	fullSizeWin.document.write("<html><head><title></title></head><body style='margin:0px;padding:0px;'>");
	fullSizeWin.document.write('<img width="' + picWidth + 'px",height="' + picHeight + 'px" src="'+picURL+'" alt="'+picTitle+'">');
	fullSizeWin.document.write("</body></html>");
	fullSizeWin.focus();
}

var navPosArray = new Array();
navPosArray[1]=260;
navPosArray[2]=308;
navPosArray[3]=371;
navPosArray[4]=442;
navPosArray[5]=492;
navPosArray[6]=576;
navPosArray[7]=638;
navPosArray[8]=753;
navPosArray[9]=824;
navPosArray[10]=891;
var carImageStatus=0;
function moveCar(){
	if (carImageStatus==0){
		carImageStatus=1;
		if ((ximg=findObj("imgmenuPicLong"))!=null){
			ximg.oSrc=ximg.src;
			ximg.src=swpImg["imgmenuPicLong"];
		}
	}
	if (activeMouseXCoord==-1){
		newPos = ((navPosArray[groupID]-130)+offSetLeft);
	} else {
		newPos = (activeMouseXCoord-130);
	}
	if ((x=findObj("divmenuPicLong"))!=null){
		x.style.left = newPos+'px';
	}
}
function swapCar(){
	carImageStatus=0;
	if ((ximg=findObj("imgmenuPicLong"))!=null)ximg.src=ximg.oSrc;
}
function startCar(){
	moveCar();
	swapCar();
}