/* -- Adobe GoLive JavaScript Library */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 */}						//	JM QT Object - Version 1.0//	JMQTObject GoLive Action by Jesper G.O. M¿ller - http://www.jart.dk/jgom/index.html//	Active Content QuickTime JavaScript - AC_QuickTime.js - Version: 1.1//	Copyright © 2006 Apple Computer, Inc., All Rights Reserved//	Edit by Jesper G.O. M¿ller for the use of GoLive Action//	-----------			JM QT Object Setup			-----------function JMQTObject(action) {//	-----------			QuickTime parameters:		-----------qtaxversion = '';qtnamen = '';qtnamev = '';qtidn = '';qtidv = '';qttitlen = '';qttitlev = '';qtclassn = '';qtclassv = '';qtvspacen = '';qtvspacev = '';qthspacen = '';qthspacev = '';qtbordern = '';qtborderv = '';qttabindexn = '';qttabindexv = '';qtalignn = '';qtalignv = '';htmltype = action[1];qturl = action[2];qtwidth = action[3];qthight = action[4];if (action[5] != "6,0,2,0"){	qtaxversion = action[5];	}qtbackgcolorn = 'bgcolor';qtbackgcolorv = action[6];if (action[7] != ''){	qtnamen = 'name';	qtnamev = action[7];	qtidn = 'id';	qtidv = action[7];	}if (action[8] != ''){	qttitlen = 'title';	qttitlev = action[8];	}if (action[9] != ''){	qtclassn = 'class';	qtclassv = action[9];	}if (action[10] != 0){	qtvspacen = 'vspace';	qtvspacev = action[10];	}if (action[11] != 0){	qthspacen = 'hspace';	qthspacev = action[11];	}if (action[12] != 0){	qtbordern = 'border';	qtborderv = action[12];	}if (action[13] != ''){	qttabindexn = 'tabindex';	qttabindexv = action[13];	}if (action[14] != false){	qtalignn = 'align';	qtalignv = action[14];	}//	-----------			Controlle parameters:		-----------qtcontrolen = '';qtcontrolev = '';qtautoplayn = '';qtautoplayv = '';qthiden = '';qthidev = '';qtkioskn = '';qtkioskv = '';qtvolumen = '';qtvolumev = '';qtloopn = '';qtloopv = '';if (action[15] != true){	qtcontrolen = 'controller';	qtcontrolev = false;	}if (action[16] != true){	qtautoplayn = 'autoplay';	qtautoplayv = false;	}if (action[17] != false){	qtautoplayn = 'autoplay';	qtautoplayv = true;	qthiden = 'hideqt';	}if (action[18] != false){	qtkioskn = 'kioskmode';	qtkioskv = true;	}if (action[19] != ''){	qtvolumen = 'volume';	qtvolumev = action[19];	if (action[19] > 100){		qtvolumev = 100;		}	}if (action[20] != false){	qtloopn = 'loop';	qtloopv = true;	}//	-----------		QuickTime VR parameters:		-----------qtpann = '';qtpanv = '';qtfovn = '';qtfovv = '';qttiltn = '';qttiltv = '';qtnoden = '';qtnodev = '';qtcorrectionn = '';qtcorrectionv = '';if (action[21] != ''){	qtpann = 'pan';	qtpanv = action[21];	if (action[21] > 360){		qtpanv = 360;		}	}if (action[22] != ''){	qtfovn = 'fov';	qtfovv = action[22];	if (action[22] < 8 ){		qtfovv = 8;		}	if (action[22] > 64 ){		qtfovv = 64;		}	}if (action[23] != ''){	qttiltn = 'tilt';	qttiltv = action[23];	if (action[23] > 360){		qttiltv = 360;		}	}if (action[24] != ''){	qtnoden = 'node';	qtnodev = action[24];	}if (action[25] != false){	qtcorrectionn = 'correction';	qtcorrectionv = true;	}//	-----------		Write QTObject:					-----------if (action[1] == true){	QT_WriteOBJECT(qturl,qtwidth,qthight,qtaxversion,qtbackgcolorn,qtbackgcolorv,qtnamen,qtnamev,qttitlen,qttitlev,qtclassn,qtclassv,qthspacen,qthspacev,qtvspacen,qtvspacev,qtbordern,qtborderv,qttabindexn,qttabindexv,qtalignn,qtalignv,qtcontrolen,qtcontrolev,qtautoplayn,qtautoplayv,qthiden,qthidev,qtkioskn,qtkioskv,qtvolumen,qtvolumev,qtloopn,qtloopv,qtpann,qtpanv,qtfovn,qtfovv,qtnoden,qtnodev,qtcorrectionn,qtcorrectionv);	}else{	QT_WriteOBJECT_XHTML(qturl,qtwidth,qthight,qtaxversion,qtbackgcolorn,qtbackgcolorv,qtnamen,qtnamev,qttitlen,qttitlev,qtclassn,qtclassv,qthspacen,qthspacev,qtvspacen,qtvspacev,qtbordern,qtborderv,qttabindexn,qttabindexv,qtalignn,qtalignv,qtcontrolen,qtcontrolev,qtautoplayn,qtautoplayv,qthiden,qthidev,qtkioskn,qtkioskv,qtvolumen,qtvolumev,qtloopn,qtloopv,qtpann,qtpanv,qtfovn,qtfovv,qtnoden,qtnodev,qtcorrectionn,qtcorrectionv);	}}//	-----------		AC_QuickTime.js -  Version: 1.1	-----------var gArgCountErr =	'The "%%" function requires an even number of arguments.'				+	'\nArguments should be in the form "atttributeName", "attributeValue", ...';var gTagAttrs				= null;var gQTGeneratorVersion		= 1.0;function AC_QuickTimeVersion()	{ return gQTGeneratorVersion; }function _QTComplain(callingFcnName, errMsg){errMsg = errMsg.replace("%%", callingFcnName);alert(errMsg);}function _QTAddAttribute(prefix, slotName, tagName){var	value;value = gTagAttrs[prefix + slotName];if ( null == value )	value = gTagAttrs[slotName];if ( null != value ){	if ( 0 == slotName.indexOf(prefix) && (null == tagName) )		tagName = slotName.substring(prefix.length); 	if ( null == tagName ) 		tagName = slotName;	return tagName + '="' + value + '" ';	}else	return "";}function _QTAddObjectAttr(slotName, tagName){if ( 0 == slotName.indexOf("emb#") )	return "";if ( 0 == slotName.indexOf("obj#") && (null == tagName) )	tagName = slotName.substring(4); return _QTAddAttribute("obj#", slotName, tagName);}function _QTAddEmbedAttr(slotName, tagName){if ( 0 == slotName.indexOf("obj#") )	return "";if ( 0 == slotName.indexOf("emb#") && (null == tagName) )	tagName = slotName.substring(4); return _QTAddAttribute("emb#", slotName, tagName);}function _QTAddObjectParam(slotName, generateXHTML){var	paramValue;var	paramStr = "";var	endTagChar = (generateXHTML) ? ' />' : '>';if ( -1 == slotName.indexOf("emb#") ){	paramValue = gTagAttrs["obj#" + slotName];	if ( null == paramValue )		paramValue = gTagAttrs[slotName];	if ( 0 == slotName.indexOf("obj#") )		slotName = slotName.substring(4); 	if ( null != paramValue )		paramStr = '  <param name="' + slotName + '" value="' + paramValue + '"' + endTagChar + '\n';	}return paramStr;}function _QTDeleteTagAttrs(){for ( var ndx = 0; ndx < arguments.length; ndx++ ){	var attrName = arguments[ndx];	delete gTagAttrs[attrName];	delete gTagAttrs["emb#" + attrName];	delete gTagAttrs["obj#" + attrName];	}}function _QTGenerate(callingFcnName, generateXHTML, args){if ( args.length < 4 || (0 != (args.length % 2)) ){	_QTComplain(callingFcnName, gArgCountErr);	return "";}gTagAttrs = new Array();gTagAttrs["src"] = args[0];gTagAttrs["width"] = args[1];gTagAttrs["height"] = args[2];gTagAttrs["classid"] = "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B";gTagAttrs["pluginspage"] = "http://www.apple.com/quicktime/download/";var activexVers = args[3]if ( (null == activexVers) || ("" == activexVers) )	activexVers = "6,0,2,0";gTagAttrs["codebase"] = "http://www.apple.com/qtactivex/qtplugin.cab#version=" + activexVers;var	attrName,	attrValue;hideit = false;for ( var ndx = 4; ndx < args.length; ndx += 2){if ( args[ndx] == 'hideqt' ){	hideit = true;	args[ndx] = '';	}if ( args[ndx] != '' ){	attrName = args[ndx].toLowerCase();	attrValue = args[ndx + 1];	if ( "name" == attrName || "id" == attrName )		gTagAttrs["name"] = attrValue;	else 		gTagAttrs[attrName] = attrValue;	}}var objTag =  '<object '				+ _QTAddObjectAttr("classid")				+ _QTAddObjectAttr("width")				+ _QTAddObjectAttr("height")				+ _QTAddObjectAttr("codebase")				+ _QTAddObjectAttr("name", "id")				+ _QTAddObjectAttr("title")				+ _QTAddObjectAttr("class")				+ _QTAddObjectAttr("vspace")				+ _QTAddObjectAttr("hspace")				+ _QTAddObjectAttr("border")				+ _QTAddObjectAttr("tabindex")				+ _QTAddObjectAttr("align")				+ _QTAddObjectAttr("accesskey")				+ _QTAddObjectAttr("noexternaldata")				+ '>\n'				+ _QTAddObjectParam("src", generateXHTML);var embedTag = '  <embed '				+ _QTAddEmbedAttr("src")				+ _QTAddEmbedAttr("width")				+ _QTAddEmbedAttr("height")				+ _QTAddEmbedAttr("pluginspage")				+ _QTAddEmbedAttr("name")				+ _QTAddEmbedAttr("align")				+ _QTAddEmbedAttr("tabindex");_QTDeleteTagAttrs("src","width","height","pluginspage","classid","codebase","name","tabindex","hspace","vspace","border","align","noexternaldata","class","title","accesskey");for ( var attrName in gTagAttrs ){	attrValue = gTagAttrs[attrName];	if ( null != attrValue ){		embedTag += _QTAddEmbedAttr(attrName);		objTag += _QTAddObjectParam(attrName, generateXHTML);	}} if ( hideit == true ){	return objTag + embedTag + ' hidden > </em' + 'bed>\n</ob' + 'ject' + '>';	}else{	return objTag + embedTag + '> </em' + 'bed>\n</ob' + 'ject' + '>';	}}function QT_GenerateOBJECTText(){return _QTGenerate("QT_GenerateOBJECTText", false, arguments);}function QT_GenerateOBJECTText_XHTML(){return _QTGenerate("QT_GenerateOBJECTText_XHTML", true, arguments);}function QT_WriteOBJECT(){document.writeln(_QTGenerate("QT_WriteOBJECT", false, arguments));}function QT_WriteOBJECT_XHTML(){document.writeln(_QTGenerate("QT_WriteOBJECT_XHTML", true, arguments));}					function CSFixFct() {	var d = document; var w = window;	if (d.cs.csFix.w != w.innerWidth || d.cs.csFix.h != w.innerHeight) {		d.location = d.location; }}function CSNSFix(action) { 	var d = document; var w = window;	if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {		if (typeof d.cs == 'undefined') { 			d.cs = new Object;			d.cs.csFix = new Object; 		} else if (CSIsFrame (w) == true) CSFixFct();		d.cs.csFix.w = w.innerWidth;		d.cs.csFix.h = w.innerHeight; 		window.onresize = CSFixFct;	  }}function CSIsFrame (window) {	var rootWindow = window.parent;	if (rootWindow == 'undefined') return false;	for (i = 0; i < rootWindow.frames.length; i++)		if (window == rootWindow.frames[i]) return true;	return false;}function CSOpenWindow(action) {	var wf = "";		wf = wf + "width=" + action[3];	wf = wf + ",height=" + action[4];	wf = wf + ",resizable=" + (action[5] ? "yes" : "no");	wf = wf + ",scrollbars=" + (action[6] ? "yes" : "no");	wf = wf + ",menubar=" + (action[7] ? "yes" : "no");	wf = wf + ",toolbar=" + (action[8] ? "yes" : "no");	wf = wf + ",directories=" + (action[9] ? "yes" : "no");	wf = wf + ",location=" + (action[10] ? "yes" : "no");	wf = wf + ",status=" + (action[11] ? "yes" : "no");			window.open(action[1],action[2],wf);}function CSCloseWindow() { if (self.parent.frames.length != 0) {	self.parent.close()		} else {	window.close()	}}