/**
 * SWFObject v1.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}
if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}
if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}
deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a,_b){
if(!document.createElement||!document.getElementById){return;}
this.DETECT_KEY=_b?_b:"detectflash";
this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params=new Object();
this.variables=new Object();
this.attributes=new Array();
if(_1){this.setAttribute("swf",_1);}
if(id){this.setAttribute("id",id);}
if(w){this.setAttribute("width",w);}
if(h){this.setAttribute("height",h);}
if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}
this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"),_7);
if(c){this.addParam("bgcolor",c);}
var q=_8?_8:"high";
this.addParam("quality",q);
this.setAttribute("useExpressInstall",_7);
this.setAttribute("doExpressInstall",false);
var _d=(_9)?_9:window.location;
this.setAttribute("xiRedirectUrl",_d);
this.setAttribute("redirectUrl","");
if(_a){this.setAttribute("redirectUrl",_a);}};
deconcept.SWFObject.prototype={setAttribute:function(_e,_f){
this.attributes[_e]=_f;
},getAttribute:function(_10){
return this.attributes[_10];
},addParam:function(_11,_12){
this.params[_11]=_12;
},getParams:function(){
return this.params;
},addVariable:function(_13,_14){
this.variables[_13]=_14;
},getVariable:function(_15){
return this.variables[_15];
},getVariables:function(){
return this.variables;
},getVariablePairs:function(){
var _16=new Array();
var key;
var _18=this.getVariables();
for(key in _18){
_16.push(key+"="+_18[key]);}
return _16;
},getSWFHTML:function(){
var _19="";
if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){
if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");}
_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\"";
_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";
var _1a=this.getParams();
for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}
var _1c=this.getVariablePairs().join("&");
if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}
_19+="/>";
}else{
if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");}
_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\">";
_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";
var _1d=this.getParams();
for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}
var _1f=this.getVariablePairs().join("&");
if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}
_19+="</object>";}
return _19;
},write:function(_20){
if(this.getAttribute("useExpressInstall")){
var _21=new deconcept.PlayerVersion([6,0,65]);
if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){
this.setAttribute("doExpressInstall",true);
this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));
document.title=document.title.slice(0,47)+" - Flash Player Installation";
this.addVariable("MMdoctitle",document.title);}}
if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){
var n=(typeof _20=="string")?document.getElementById(_20):_20;
n.innerHTML=this.getSWFHTML();
return true;
}else{
if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}
return false;}};
deconcept.SWFObjectUtil.getPlayerVersion=function(_23,_24){
var _25=new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins&&navigator.mimeTypes.length){
var x=navigator.plugins["Shockwave Flash"];
if(x&&x.description){_25=new deconcept.PlayerVersion(x.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}
}else{try{
var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
for(var i=3;axo!=null;i++){
axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+i);
_25=new deconcept.PlayerVersion([i,0,0]);}}
catch(e){}
if(_23&&_25.major>_23.major){return _25;}
if(!_23||((_23.minor!=0||_23.rev!=0)&&_25.major==_23.major)||_25.major!=6||_24){
try{_25=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}
catch(e){}}}
return _25;};
deconcept.PlayerVersion=function(_29){
this.major=parseInt(_29[0])!=null?parseInt(_29[0]):0;
this.minor=parseInt(_29[1])||0;
this.rev=parseInt(_29[2])||0;};
deconcept.PlayerVersion.prototype.versionIsValid=function(fv){
if(this.major<fv.major){return false;}
if(this.major>fv.major){return true;}
if(this.minor<fv.minor){return false;}
if(this.minor>fv.minor){return true;}
if(this.rev<fv.rev){return false;}return true;};
deconcept.util={getRequestParameter:function(_2b){
var q=document.location.search||document.location.hash;
if(q){
var _2d=q.indexOf(_2b+"=");
var _2e=(q.indexOf("&",_2d)>-1)?q.indexOf("&",_2d):q.length;
if(q.length>1&&_2d>-1){
return q.substring(q.indexOf("=",_2d)+1,_2e);
}}return "";}};
if(Array.prototype.push==null){
Array.prototype.push=function(_2f){
this[this.length]=_2f;
return this.length;};}
var getQueryParamValue=deconcept.util.getRequestParameter;
var FlashObject=deconcept.SWFObject; // for backwards compatibility
var SWFObject=deconcept.SWFObject;


//scripts.js
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openBrWindow(theURL,winName,features,width,height) {
	x = 0;
	y = 0;
	if (parseInt(navigator.appVersion) >= 4) {
		x = (screen.width / 2) - (width / 2);
		y = (screen.height / 2) - (height / 2);
	}
	features = features + ",top=" + y + ",left=" + x + ",width=" + width + ",height=" + height;
	window.open(theURL,winName,features);
}

function confirmemail() {
	if (document.MM_returnValue && (document.contactform.subscribe[0].checked == false && document.contactform.subscribe[1].checked == false)) {
		alert("Please complete:\n- Do you wish to receive regular email updates?");
		document.MM_returnValue = false;
	}
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

/*Example CSS for the two demo scrollers*/

/*#pscroller1{
width: 200px;
width: 100px;
border: 1px solid black;
padding: 5px;
background-color: lightyellow;
}

#pscroller2{
width: 350px;
width: 20px;
border: 1px solid black;
padding: 3px;
}

#pscroller2 a{
text-decoration: none;
}

.someclass{ //class to apply to your scroller(s) if desired
}*/


/*Example message arrays for the two demo scrollers*/

/*var pausecontent=new Array()
pausecontent[0]='<a href="http://www.javascriptkit.com">JavaScript Kit</a><br />Comprehensive JavaScript tutorials and over 400+ free scripts!'
pausecontent[1]='<a href="http://www.codingforums.com">Coding Forums</a><br />Web coding and development forums.'
pausecontent[2]='<a href="http://www.cssdrive.com" target="_new">CSS Drive</a><br />Categorized CSS gallery and examples.'

var pausecontent2=new Array()
pausecontent2[0]='<a href="http://www.news.com">News.com: Technology and business reports</a>'
pausecontent2[1]='<a href="http://www.cnn.com">CNN: Headline and breaking news 24/7</a>'
pausecontent2[2]='<a href="http://news.bbc.co.uk">BBC News: UK and international news</a>'*/


/***********************************************
* Pausing up-down scroller- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

function pausescroller(content, divId, divClass, delay){
this.content=content //message array content
this.tickerid=divId //ID of ticker div to display information
this.delay=delay //Delay between msg change, in miliseconds.
this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is)
this.hiddendivpointer=1 //index of message array for hidden div
document.write('<div id="'+divId+'" class="'+divClass+'" style="position: relative; overflow: hidden"><div class="innerDiv" style="position: absolute; width: 100%; z-index:1" id="'+divId+'1">'+content[0]+'</div><div class="innerDiv" style="position: absolute; width: 100%; visibility: hidden; filter: alpha(opacity=0); -moz-opacity: 0; z-index:2" id="'+divId+'2">'+content[1]+'</div></div>')
var scrollerinstance=this
if (window.addEventListener) //run onload in DOM2 browsers
window.addEventListener("load", function(){scrollerinstance.initialize()}, false)
else if (window.attachEvent) //run onload in IE5.5+
window.attachEvent("onload", function(){scrollerinstance.initialize()})
else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec
setTimeout(function(){scrollerinstance.initialize()}, 500)
}

// -------------------------------------------------------------------
// initialize()- Initialize scroller method.
// -Get div objects, set initial positions, start up down animation
// -------------------------------------------------------------------

pausescroller.prototype.initialize=function(){
this.tickerdiv=document.getElementById(this.tickerid)
this.visiblediv=document.getElementById(this.tickerid+"1")
this.hiddendiv=document.getElementById(this.tickerid+"2")
this.visibledivleft=parseInt(pausescroller.getCSSpadding(this.tickerdiv))
//set width of inner DIVs to outer DIV's width minus padding (padding assumed to be left padding x 2)
this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivleft*2)+"px"
this.getinline(this.visiblediv, this.hiddendiv)
this.hiddendiv.style.visibility="visible"
var scrollerinstance=this
document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0}
if (window.attachEvent) //Clean up loose references in IE
window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null})
ie5  = (document.all && document.getElementById);
ns6 = (!document.all && document.getElementById);
this.opac = 0;
	if (navigator.userAgent.indexOf('Opera') != -1) {
		return;
	}
setTimeout(function(){scrollerinstance.animateup()}, this.delay)
}

// -------------------------------------------------------------------
// animateup()- Move the two inner divs of the scroller up and in sync
// -------------------------------------------------------------------

pausescroller.prototype.animateup=function(){// was +-1 50
var scrollerinstance=this



////if (parseInt(this.hiddendiv.style.left)>(this.visibledivleft+2)){
if(this.opac < 100){
    this.opac+=2;
    if (ie5) this.hiddendiv.style.filter='alpha(opacity='+this.opac+')';
    if (ns6) this.hiddendiv.style.MozOpacity = this.opac/100;
////this.visiblediv.style.left=parseInt(this.visiblediv.style.left)-2+"px"
////this.hiddendiv.style.left=parseInt(this.hiddendiv.style.left)-2+"px"
setTimeout(function(){scrollerinstance.animateup()}, 10)
}
else{
this.opac = 0;
this.getinline(this.hiddendiv, this.visiblediv)
this.swapdivs()
setTimeout(function(){scrollerinstance.setmessage()}, this.delay)
}
}

// -------------------------------------------------------------------
// swapdivs()- Swap between which is the visible and which is the hidden div
// -------------------------------------------------------------------

pausescroller.prototype.swapdivs=function(){
var tempcontainer=this.visiblediv
this.visiblediv.innerHTML=this.hiddendiv.innerHTML
if (ie5) this.hiddendiv.style.filter='alpha(opacity=0)';
if (ns6) this.hiddendiv.style.MozOpacity = 0;
//this.hiddendiv=tempcontainer
}

pausescroller.prototype.getinline=function(div1, div2){
div1.style.left=this.visibledivleft+"px"
////div2.style.left=Math.max(div1.parentNode.offsetWidth, div1.offsetWidth)+"px"
div2.style.left=div1.style.left
}

// -------------------------------------------------------------------
// setmessage()- Populate the hidden div with the next message before it's visible
// -------------------------------------------------------------------

pausescroller.prototype.setmessage=function(){
var scrollerinstance=this
if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it)
setTimeout(function(){scrollerinstance.setmessage()}, 100)
else{
var i=this.hiddendivpointer
var ceiling=this.content.length
this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1
this.hiddendiv.innerHTML=this.content[this.hiddendivpointer]
this.animateup()
}
}

pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any
if (tickerobj.currentStyle)
return tickerobj.currentStyle["paddingLeft"]
else if (window.getComputedStyle) //if DOM2
return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-left")
else
return 0
}

//AC_RunActiveContent.js

//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2007 Adobe Systems Incorporated.  All rights reserved.
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

function ControlVersion()
{
	var version;
	var axo;
	var e;

	// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry

	try {
		// version will be set for 7.X or greater players
		axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
		version = axo.GetVariable("$version");
	} catch (e) {
	}

	if (!version)
	{
		try {
			// version will be set for 6.X players only
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
			
			// installed player is some revision of 6.0
			// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
			// so we have to be careful. 
			
			// default to the first public version
			version = "WIN 6,0,21,0";

			// throws if AllowScripAccess does not exist (introduced in 6.0r47)		
			axo.AllowScriptAccess = "always";

			// safe to call for 6.0r47 or greater
			version = axo.GetVariable("$version");

		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 4.X or 5.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = axo.GetVariable("$version");
		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 3.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
			version = "WIN 3,0,18,0";
		} catch (e) {
		}
	}

	if (!version)
	{
		try {
			// version will be set for 2.X player
			axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
			version = "WIN 2,0,0,11";
		} catch (e) {
			version = -1;
		}
	}
	
	return version;
}

// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer(){
	// NS/Opera version >= 3 check for Flash plugin in plugin array
	var flashVer = -1;
	
	if (navigator.plugins != null && navigator.plugins.length > 0) {
		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
			var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
			var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
			var descArray = flashDescription.split(" ");
			var tempArrayMajor = descArray[2].split(".");			
			var versionMajor = tempArrayMajor[0];
			var versionMinor = tempArrayMajor[1];
			var versionRevision = descArray[3];
			if (versionRevision == "") {
				versionRevision = descArray[4];
			}
			if (versionRevision[0] == "d") {
				versionRevision = versionRevision.substring(1);
			} else if (versionRevision[0] == "r") {
				versionRevision = versionRevision.substring(1);
				if (versionRevision.indexOf("d") > 0) {
					versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
				}
			}
			var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
		}
	}
	// MSN/WebTV 2.6 supports Flash 4
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
	// WebTV 2.5 supports Flash 3
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
	// older WebTV supports Flash 2
	else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
	else if ( isIE && isWin && !isOpera ) {
		flashVer = ControlVersion();
	}	
	return flashVer;
}

// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
{
	versionStr = GetSwfVer();
	if (versionStr == -1 ) {
		return false;
	} else if (versionStr != 0) {
		if(isIE && isWin && !isOpera) {
			// Given "WIN 2,0,0,11"
			tempArray         = versionStr.split(" "); 	// ["WIN", "2,0,0,11"]
			tempString        = tempArray[1];			// "2,0,0,11"
			versionArray      = tempString.split(",");	// ['2', '0', '0', '11']
		} else {
			versionArray      = versionStr.split(".");
		}
		var versionMajor      = versionArray[0];
		var versionMinor      = versionArray[1];
		var versionRevision   = versionArray[2];

        	// is the major.revision >= requested major.revision AND the minor version >= requested minor
		if (versionMajor > parseFloat(reqMajorVer)) {
			return true;
		} else if (versionMajor == parseFloat(reqMajorVer)) {
			if (versionMinor > parseFloat(reqMinorVer))
				return true;
			else if (versionMinor == parseFloat(reqMinorVer)) {
				if (versionRevision >= parseFloat(reqRevision))
					return true;
			}
		}
		return false;
	}
}

function AC_AddExtension(src, ext)
{
  if (src.indexOf('?') != -1)
    return src.replace(/\?/, ext+'?'); 
  else
    return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs) 
{ 
  var str = '';
  if (isIE && isWin && !isOpera)
  {
    str += '<object ';
    for (var i in objAttrs)
    {
      str += i + '="' + objAttrs[i] + '" ';
    }
    str += '>';
    for (var i in params)
    {
      str += '<param name="' + i + '" value="' + params[i] + '" /> ';
    }
    str += '</object>';
  }
  else
  {
    str += '<embed ';
    for (var i in embedAttrs)
    {
      str += i + '="' + embedAttrs[i] + '" ';
    }
    str += '> </embed>';
  }

  document.write(str);
}

function AC_FL_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
     , "application/x-shockwave-flash"
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_SW_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
     , null
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
  var ret = new Object();
  ret.embedAttrs = new Object();
  ret.params = new Object();
  ret.objAttrs = new Object();
  for (var i=0; i < args.length; i=i+2){
    var currArg = args[i].toLowerCase();    

    switch (currArg){	
      case "classid":
        break;
      case "pluginspage":
        ret.embedAttrs[args[i]] = args[i+1];
        break;
      case "src":
      case "movie":	
        args[i+1] = AC_AddExtension(args[i+1], ext);
        ret.embedAttrs["src"] = args[i+1];
        ret.params[srcParamName] = args[i+1];
        break;
      case "onafterupdate":
      case "onbeforeupdate":
      case "onblur":
      case "oncellchange":
      case "onclick":
      case "ondblClick":
      case "ondrag":
      case "ondragend":
      case "ondragenter":
      case "ondragleave":
      case "ondragover":
      case "ondrop":
      case "onfinish":
      case "onfocus":
      case "onhelp":
      case "onmousedown":
      case "onmouseup":
      case "onmouseover":
      case "onmousemove":
      case "onmouseout":
      case "onkeypress":
      case "onkeydown":
      case "onkeyup":
      case "onload":
      case "onlosecapture":
      case "onpropertychange":
      case "onreadystatechange":
      case "onrowsdelete":
      case "onrowenter":
      case "onrowexit":
      case "onrowsinserted":
      case "onstart":
      case "onscroll":
      case "onbeforeeditfocus":
      case "onactivate":
      case "onbeforedeactivate":
      case "ondeactivate":
      case "type":
      case "codebase":
      case "id":
        ret.objAttrs[args[i]] = args[i+1];
        break;
      case "width":
      case "height":
      case "align":
      case "vspace": 
      case "hspace":
      case "class":
      case "title":
      case "accesskey":
      case "name":
      case "tabindex":
        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
        break;
      default:
        ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
    }
  }
  ret.objAttrs["classid"] = classid;
  if (mimeType) ret.embedAttrs["type"] = mimeType;
  return ret;
}
// hotspot.js.php
//<script type="text/javascript">
var pausecontent2 = new Array();
pausecontent2[0] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/bipper.jpg\" alt=\"Peugeot: Bipper 1.4hdi  70 Professional\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Peugeot Bipper...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[1] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/caddy maxi.jpg\" alt=\"VW: Caddy Maxi 1.9tdi 104ps\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>VW Caddy Maxi...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[2] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/transporter.jpg\" alt=\"VW: Transporter T26 1.9 84ps SWB\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>VW Transporter...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[3] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/nemo.jpg\" alt=\"Citroen: Nemo 1.4 HDI X\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Citroen Nemo 1.4...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[4] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/transit.jpg\" alt=\"Ford: Transit 260 SWB Low Roof 2.2tdci 85ps\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Ford Transit 260...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[5] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/berlingo.jpg\" alt=\"Citroen: Berlingo 1.6 HDI X\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Citroen Berlingo...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[6] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/dispatch.jpg\" alt=\"Citroen: Dispatch L1 H1 1.6 HDI 90ps\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Citroen Dispatch...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[7] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/crafter.jpg\" alt=\"VW: Crafter CR35 MWB H/R 109ps\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>VW Crafter CR35...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[8] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/relay.jpg\" alt=\"Citroen: Relay L3 H2 2.2HDI 120ps\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Citroen Relay L3...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[9] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/partner.jpg\" alt=\"Peugeot: Partner Origin 600kg HDI 75ps\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Peugeot Partner...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[10] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/caddy.jpg\" alt=\"VW: Caddy 2.0sdi 69ps\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>VW Caddy 2.0sdi...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[11] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/expert.jpg\" alt=\"Peugeot: Expert L1 H1 1000kg 90ps\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Peugeot Expert L1...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[12] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/connect.jpg\" alt=\"Ford: Connect 200 SWB 1.8tdci 75ps\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Ford Connect 200...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
pausecontent2[13] = "<div class=\"block_current\"> <a href=\"van-special-offers.php\"><img src=\"/images/library/thumbs/boxer.jpg\" alt=\"Peugeot: Boxer 330 L1 H1 100ps\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Peugeot Boxer 330...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"van-special-offers.php\">More information</a> </div>  </div></div>";
//new pausescroller(pausecontent2, "pscroller2", "", 2000);
//</script>//<script type="text/javascript">
var pausecontent1 = new Array();
pausecontent1[0] = "<div class=\"block_prestige\"> <a href=\"Prestige-And-Rare-Cars/Porsche/\"><img src=\"/images/library/thumbs/porsche_cayenne.jpg\" alt=\"Porsche: Cayenne Diesel\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Porsche Cayenne...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"Prestige-And-Rare-Cars/Porsche/\">More information</a> </div>  </div></div>";
pausecontent1[1] = "<div class=\"block_prestige\"> <a href=\"Prestige-And-Rare-Cars/BMW/\"><img src=\"/images/library/thumbs/bmw gt.jpg\" alt=\"BMW: 550i GT\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>BMW 550i GT</p>    <span>Unregistered Sophisto...</span>    <div class=\"more_info\"> <a href=\"Prestige-And-Rare-Cars/BMW/\">More information</a> </div>  </div></div>";
pausecontent1[2] = "<div class=\"block_prestige\"> <a href=\"Prestige-And-Rare-Cars/Audi/\"><img src=\"/images/library/thumbs/audi rs6.jpg\" alt=\"Audi: RS6 Saloon\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Audi RS6 Saloon</p>    <span>Unregistered Daytona...</span>    <div class=\"more_info\"> <a href=\"Prestige-And-Rare-Cars/Audi/\">More information</a> </div>  </div></div>";
pausecontent1[3] = "<div class=\"block_prestige\"> <a href=\"Prestige-And-Rare-Cars/BMW/\"><img src=\"/images/library/thumbs/bmw m3.jpg\" alt=\"BMW: M3 Coupe\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>BMW M3 Coupe</p>    <span>Unregistered  Alpine...</span>    <div class=\"more_info\"> <a href=\"Prestige-And-Rare-Cars/BMW/\">More information</a> </div>  </div></div>";
pausecontent1[4] = "<div class=\"block_prestige\"> <a href=\"Prestige-And-Rare-Cars/Jaguar/\"><img src=\"/images/library/thumbs/Jaguar XF.jpg\" alt=\"Jaguar: XF 3.0D Luxury\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Jaguar XF 3.0D...</p>    <span>&nbsp;<span>    <div class=\"more_info\"> <a href=\"Prestige-And-Rare-Cars/Jaguar/\">More information</a> </div>  </div></div>";
pausecontent1[5] = "<div class=\"block_prestige\"> <a href=\"Prestige-And-Rare-Cars/BMW/\"><img src=\"/images/library/thumbs/bmw x6.jpg\" alt=\"BMW: X6 35i\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>BMW X6 35i</p>    <span>Unregistered  Black...</span>    <div class=\"more_info\"> <a href=\"Prestige-And-Rare-Cars/BMW/\">More information</a> </div>  </div></div>";
pausecontent1[6] = "<div class=\"block_prestige\"> <a href=\"Prestige-And-Rare-Cars/Audi/\"><img src=\"/images/library/thumbs/audi q5.jpg\" alt=\"Audi: Q5 2.0 T S-Line S-Tronic\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Audi Q5 2.0 T...</p>    <span>Unregistered  Phantom...</span>    <div class=\"more_info\"> <a href=\"Prestige-And-Rare-Cars/Audi/\">More information</a> </div>  </div></div>";
pausecontent1[7] = "<div class=\"block_prestige\"> <a href=\"Prestige-And-Rare-Cars/Audi/\"><img src=\"/images/library/thumbs/audi r8.jpg\" alt=\"Audi: R8 4.2 R Tronic Coupe\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Audi R8 4.2 R...</p>    <span>Unregistered Daytona...</span>    <div class=\"more_info\"> <a href=\"Prestige-And-Rare-Cars/Audi/\">More information</a> </div>  </div></div>";
pausecontent1[8] = "<div class=\"block_prestige\"> <a href=\"Prestige-And-Rare-Cars/Audi/\"><img src=\"/images/library/thumbs/audi q7.jpg\" alt=\"Audi: Q7 3.0tdi S-Line Tiptronic\" width=\"160\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Audi Q7 3.0tdi...</p>    <span>New Unregistered...</span>    <div class=\"more_info\"> <a href=\"Prestige-And-Rare-Cars/Audi/\">More information</a> </div>  </div></div>";
//new pausescroller(pausecontent1, "pscroller1", "", 2000);
//</script>//<script type="text/javascript">
var pausecontent3 = new Array();
pausecontent3[0] = "<div class=\"block_green\"> <a href=\"green-stock-list.php\"><img src=\"/images/library/thumbs/mini_cooper_diesel.jpg\" alt=\"Mini: Cooper Diesel\" width=\"160\" height=\"110\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Mini Cooper Diesel</p>    <span>co2 emissions - 104 g/km</span>    <div class=\"more_info\"> <a href=\"green-stock-list.php\">More information</a> </div>  </div></div>";
pausecontent3[1] = "<div class=\"block_green\"> <a href=\"green-stock-list.php\"><img src=\"/images/library/thumbs/bmw_118d.jpg\" alt=\"BMW: 118D\" width=\"160\" height=\"110\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>BMW 118D</p>    <span>co2 emissions - 119g/km</span>    <div class=\"more_info\"> <a href=\"green-stock-list.php\">More information</a> </div>  </div></div>";
pausecontent3[2] = "<div class=\"block_green\"> <a href=\"green-stock-list.php\"><img src=\"/images/library/thumbs/bmw_318d_sal.jpg\" alt=\"BMW: 318D Saloon\" width=\"160\" height=\"110\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>BMW 318D Saloon</p>    <span>co2 emissions - 123g/km</span>    <div class=\"more_info\"> <a href=\"green-stock-list.php\">More information</a> </div>  </div></div>";
pausecontent3[3] = "<div class=\"block_green\"> <a href=\"green-stock-list.php\"><img src=\"/images/library/thumbs/honda_civic_sal.jpg\" alt=\"Honda: Civic Saloon Hybrid\" width=\"160\" height=\"110\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Honda Civic...</p>    <span>co2 emissions - 109 g/km</span>    <div class=\"more_info\"> <a href=\"green-stock-list.php\">More information</a> </div>  </div></div>";
pausecontent3[4] = "<div class=\"block_green\"> <a href=\"green-stock-list.php\"><img src=\"/images/library/thumbs/lexus_rx_400h.jpg\" alt=\"Lexus: RX 400H\" width=\"160\" height=\"110\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Lexus RX 400H</p>    <span>co2 emissions - 192g/km</span>    <div class=\"more_info\"> <a href=\"green-stock-list.php\">More information</a> </div>  </div></div>";
pausecontent3[5] = "<div class=\"block_green\"> <a href=\"green-stock-list.php\"><img src=\"/images/library/thumbs/smart_fortwo_coupe.jpg\" alt=\"smart: Fortwo Coupe\" width=\"160\" height=\"110\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>smart Fortwo Coupe</p>    <span>co2 emissions - 103 g/km</span>    <div class=\"more_info\"> <a href=\"green-stock-list.php\">More information</a> </div>  </div></div>";
pausecontent3[6] = "<div class=\"block_green\"> <a href=\"green-stock-list.php\"><img src=\"/images/library/thumbs/citroen_c1_vibe.jpg\" alt=\"Citroen: C1 Vibe\" width=\"160\" height=\"110\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Citroen C1 Vibe</p>    <span>co2 emissions - 108g/km</span>    <div class=\"more_info\"> <a href=\"green-stock-list.php\">More information</a> </div>  </div></div>";
pausecontent3[7] = "<div class=\"block_green\"> <a href=\"green-stock-list.php\"><img src=\"/images/library/thumbs/toyota_prius_t3.jpg\" alt=\"Toyota: Prius T3\" width=\"160\" height=\"110\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Toyota Prius T3</p>    <span>co2 emissions - 104 g/km</span>    <div class=\"more_info\"> <a href=\"green-stock-list.php\">More information</a> </div>  </div></div>";
pausecontent3[8] = "<div class=\"block_green\"> <a href=\"green-stock-list.php\"><img src=\"/images/library/thumbs/audi_a3_1.9.jpg\" alt=\"Audi: A3\" width=\"160\" height=\"110\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Audi A3</p>    <span>co2 emissions - 119g/km</span>    <div class=\"more_info\"> <a href=\"green-stock-list.php\">More information</a> </div>  </div></div>";
pausecontent3[9] = "<div class=\"block_green\"> <a href=\"green-stock-list.php\"><img src=\"/images/library/thumbs/vw_polo_bluemotion.jpg\" alt=\"VW: Polo Bluemotion\" width=\"160\" height=\"110\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>VW Polo Bluemotion</p>    <span>co2 emissions - 99 g/km</span>    <div class=\"more_info\"> <a href=\"green-stock-list.php\">More information</a> </div>  </div></div>";
pausecontent3[10] = "<div class=\"block_green\"> <a href=\"green-stock-list.php\"><img src=\"/images/library/thumbs/ford_focus_flexifuel.jpg\" alt=\"Ford: Focus Econetic\" width=\"160\" height=\"110\" border=\"0\" /></a>  <div class=\"blockinner\">    <p>Ford Focus Econetic</p>    <span>co2 emissions - 115g/km</span>    <div class=\"more_info\"> <a href=\"green-stock-list.php\">More information</a> </div>  </div></div>";
//new pausescroller(pausecontent3, "pscroller3", "", 2000);
//</script>