/* -- 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 newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

userAgent = window.navigator.userAgent;
browserVers = parseInt(userAgent.charAt(userAgent.indexOf("/")+1),10);
mustInitImg = true;
function initImgID() {var di = document.images; if (mustInitImg && di) { for (var i=0; i<di.length; i++) { if (!di[i].id) di[i].id=di[i].name; } mustInitImg = false;}}

function findElement(n,ly) {
	var d = document;
	if (browserVers < 4)		return d[n];
	if ((browserVers >= 6) && (d.getElementById)) {initImgID; return(d.getElementById(n))}; 
	var cd = ly ? ly.document : d;
	var elem = cd[n];
	if (!elem) {
		for (var i=0;i<cd.layers.length;i++) {
			elem = findElement(n,cd.layers[i]);
			if (elem) return elem;
		}
	}
	return elem;
}

function changeImagesArray(array) {
	if (preloadFlag == true) {
		var d = document; var img;
		for (i=0;i<array.length;i+=2) {
			img = null; var n = array[i];
			if (d.images) {
				if (d.layers) {img = findElement(n,0);}
				else {img = d.images[n];}
			}
			if (!img && d.getElementById) {img = d.getElementById(n);}
			if (!img && d.getElementsByName) {
				var elms = d.getElementsByName(n);
				if (elms) {
					for (j=0;j<elms.length;j++) {
						if (elms[j].src) {img = elms[j]; break;}
					}
				}
			}
			if (img) {img.src = array[i+1];}
		}
	}
}

function changeImages() {
	changeImagesArray(changeImages.arguments);
}

function toggleImages() {
	for (var i=0; i<toggleImages.arguments.length; i+=2) {
		if (selected == toggleImages.arguments[i])
			changeImagesArray(toggleImages.arguments[i+1]);
	}
}

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 */
}

//Copyrights Statement.action ver.1.0.1
//Copyrights Mads Rasmussen http://www.rasmussens.dk/action
//All rights reserved
function kopi101ret(action){
var RDnu=new Date();
var RDaar=RDnu.getFullYear();
var RDudelad=parseInt(RDaar);
var RDstreg=" - ";
if(action[2]==RDaar) {RDstreg=""; RDudelad="";}
var RDcrs = ''+action[1]+' '+action[2]+''+RDstreg+''+RDudelad+' '+action[3]+'  ';
if(action[4]==true) RDcrs+=' '+action[5]+' ';
if(action[6]==true) RDcrs+=''+RDstreg+' <a href="mailto:'+action[8]+'@'+action[9]+'.'+action[10]+'" title="'+action[15]+'" onfocus="this.blur();">'+action[7]+'<\/a> ';
if(action[11]==true)RDcrs+=' '+RDstreg+' <a href="'+action[13]+'" target="'+action[14]+'" onfocus="this.blur();" title="'+action[15]+'">'+action[12]+'<\/a> ';
document.write(RDcrs);}

//Tell A Friend ver. 1.0
//All rights reserved rasmussens design http://www.rasmussens.dk
function RDtaf(action){
var TAF;
if(action[1]==true){TAF=' '+action[2]+'';}
else TAF="";
TAF += ' <a href="mailto:?subject='+action[6]+'';
if(action[9]==true){TAF += ' '+document.title+' ';}
TAF += '&body='+action[7]+' '+window.location+' ';
TAF += '\"onMouseOver="window.status=\''+action[8]+'\'; return true;"';
TAF += 'TITLE="'+action[8]+'"';
TAF += '">'+action[3]+'<\/a>';
if(action[4]==true){TAF +=' '+action[5]+''};
document.write(TAF);
}



// The RandomText action 1.0, written by: Michael Ahgren 2002
function CSRndText(action){
var newText=new Array()
var counter=0
for(i=1;i<action.length;i++){
if(action[i]!=""){
newText[counter]=action[i]
counter++
}
}
CSWriteText(newText,counter)
}
function CSWriteText(text,counter){
var CSRnd=Math.floor(Math.random()*counter)
document.write(text[CSRnd])
}
// End of RandomText action
// StyleDirect.action v2.0.1 - March, 2007
// © Copyright 1999 by Walter Blady
// All rights reserved
var SDisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) <= 4;
function WBStyleDirect(action) {
	if (SDVersion()) {
		if (action[1] == 0) {
			if (SDisNav4 && navigator.appName.indexOf("OmniWeb") == -1) window.onresize = SDControl;
			var compat = false;
			var uAgent = window.navigator.userAgent;
			var bappName = window.navigator.appName;
			var appVers = window.navigator.appVersion;
			var line = "";
			var cookieSheet = SDGetCookie("SDCookie");
			if (cookieSheet != "") {
				cookieSheet = cookieSheet.substr(cookieSheet.indexOf("=") + 1, cookieSheet.length);
			}
			if ((bappName.indexOf("Netscape") > -1) && !(bappName.indexOf("WebTV") > -1)) {
				if (navigator.platform.indexOf("Mac") != -1) {
					for (var i = 3; i < 6; i++) {
						if (action[i].indexOf("Reference!") == -1 && action[i] != "#" && action[i] != cookieSheet) {
							line += '<link rel="stylesheet" href="' + action[i] + '" media="screen">\n';
						}
					}
					if (action[2].indexOf("Reference!") == -1 && action[2] != "#" && action[2] != cookieSheet) {
						line += '<link rel="stylesheet" href="' + action[2] + '" media="screen">\n';
					}
					SDdefaultStyleSheet = action[2];
					compat = true;
				}
				else if (navigator.platform.indexOf("Win") != -1) {
					for (var i = 7; i < 10; i++) {
						if (action[i].indexOf("Reference!") == -1 && action[i] != "#" && action[i] != cookieSheet) {
							line += '<link rel="alternate stylesheet" href="' + action[i] + '" media="screen">\n';
						}
					}
					if (action[6].indexOf("Reference!") == -1 && action[6] != "#" && action[6] != cookieSheet) {
						line += '<link rel="stylesheet" href="' + action[6] + '" media="screen">\n';
					}
					SDdefaultStyleSheet = action[6];
					compat = true;
				}
			}
			else if ((bappName.indexOf("Explorer") > -1 || bappName.indexOf("Opera") > -1) && !bappName.indexOf("WebTV") > -1) {
				if (navigator.platform.indexOf("Mac") != -1) {
					for (var i = 11; i < 14; i++) {
						if (action[i].indexOf("Reference!") == -1 && action[i] != "#" && action[i] != cookieSheet) {
							line += '<link rel="stylesheet" type="text/css" href="' + action[i] + '" media="screen">\n';
						}
					}
					if (action[10].indexOf("Reference!") == -1 && action[10] != "#" && action[10] != cookieSheet) {
						line += '<link rel="stylesheet" type="text/css" href="' + action[10] + '" media="screen">\n';
					}
					SDdefaultStyleSheet = action[10];
					compat = true;
				}
				else if (navigator.platform.indexOf("Win") != -1) {
					for (var i = 15; i < 18; i++) {
						if (action[i].indexOf("Reference!") == -1 && action[i] != "#") {
							line += '<link rel="stylesheet" href="' + action[i] + '" media="screen">\n';
						}
					}
					if (action[14].indexOf("Reference!") == -1 && action[14] != "#") {
						line += '<link rel="stylesheet" href="' + action[14] + '" media="screen">\n';
					}
					SDdefaultStyleSheet = action[14];
					compat = true;
				}
			}
			else if (bappName.indexOf("WebTV") != -1) {
				for (var i = 19; i < 22; i++) {
					if (action[i].indexOf("Reference!") == -1 && action[i] != "#" && action[i] != cookieSheet) {
						line += '<link rel="stylesheet" href="' + action[i] + '" media="screen">\n';
					}
				}
				if (action[18].indexOf("Reference!") == -1 && action[18] != "#" && action[18] != cookieSheet) { 
					line += '<link rel="stylesheet" href="' + action[18] + '" media="screen">';
				}
				SDdefaultStyleSheet = action[18];
				compat = true;
			}
			if (cookieSheet != null) {
				line += '<link rel="stylesheet" type="text/css" href="' + cookieSheet + '" media="screen">';
			}
			document.writeln(line);
			var t = setTimeout("SDSetStyle()", 300);
		}
		else if (action[1] == 1) {
			var styleSheet = "";
			if (action[22] == 1) {
				styleSheet = SDdefaultStyleSheet;
			}
			else if (action[22] == 2 && action[23].indexOf("Reference!") == -1 && action[23] != "#") {
				styleSheet = action[23];
			}
			SDNewCSS(styleSheet);
		}
		return;
	}
}
function SDSetStyle() {
	var cookieCrumbs = SDGetCookie("SDCookie");
	if (cookieCrumbs != "") {
		cookieCrumbs = cookieCrumbs.substr(cookieCrumbs.indexOf("=") + 1, cookieCrumbs.length);
		SDNewCSS(cookieCrumbs);
	}
	return;
}
function SDNewCSS(name) {
	var CSS;
	for (var i = 0; (CSS = document.getElementsByTagName("link")[i]); i++) {
		if (CSS.getAttribute("rel").indexOf("stylesheet") != -1 && CSS.getAttribute("href").indexOf(name) != -1) {
			CSS.disabled = false;
		}
		else {
			CSS.disabled = true;
		}
	}
	if (SDGetCookie("SDCookie").indexOf(name) == -1) {
		SDCookieObject = new SDCookie(document, "SDCookie", 365, "/", "", 0);
		SDCookieObject.storeCookie(name);
	}
	return;
}
new SDCookie();
SDCookie.prototype.storeCookie = SDStoreCookie;
function SDCookie(document, name, hours, path, domain, secure) {
	this.$document = document;
	this.$name = name;
	if (hours) this.$expires = new Date(new Date().getTime() + hours*86400000);
	else this.$expires = null;
	if (path) this.$path = path; else this.$path = null;
	if (domain) this.$domain = domain; else this.$domain = null;
	if (secure) this.$secure = secure; else this.$secure = false;
	return;
}
function SDStoreCookie(value) {
	if (value == null) value = "";
	for (var prop in this) {
		if (prop.charAt(0) == "$" || (typeof this[prop]) == "function") {
			continue;
		}
		if (value != "") value += "&";
		value += prop + ":" + escape(this[prop]);
	}
	var cookie = this.$name + "=" + value;
	if (this.$expires) cookie += "; expires=" + this.$expires.toGMTString();
	if (this.$path) cookie += "; path=" + this.$path;
	if (this.$domain) cookie += "; domain=" + this.$domain;
	if (this.$secure) cookie += "; secure=" + secure;
	this.$document.cookie = cookie;
	return;
}
function SDGetCookie(cookieTarget) {
	var cookieCrumbs = unescape(document.cookie);
	var cookieArray = cookieCrumbs.split("; ");
	cookieCrumbs = "";
	for (var i = 0; i < cookieArray.length; i++) {
		if (cookieArray[i].indexOf(cookieTarget) != -1) {
			cookieCrumbs = cookieArray[i];
			break;
		}
	}
	return cookieCrumbs;
}
function SDControl() {
	window.location.reload();
	return;
}
function SDVersion() {
	return true;
}
//
//-->

// WBShrinkWrapper.action v1.4.1 - January, 2004
// © Copyright 2002 by Walter Blady
// All rights reserved
var SWisWin = navigator.platform.indexOf("Win") > -1, SWwinHeightComp;
var SWisNav4 = navigator.appName.indexOf("Netscape") > -1 && parseInt(navigator.appVersion.charAt(0)) == 4;
var SWisIE4 = navigator.appVersion.indexOf("MSIE 4") > -1;
var SWisIE = window.navigator.userAgent.indexOf("MSIE") > -1;
var SWisOmniWeb = window.navigator.userAgent.indexOf("OmniWeb") > -1;
var SWisSafari = window.navigator.userAgent.indexOf("Safari") > -1;
var SWisOpera = window.navigator.userAgent.indexOf("Opera") > -1;
var SWW3C = document.getElementById ? true : false;
var SWNewWind = new Array(), SWsetDelay = 0, SWwindowObj, SWimageObj, SWprotectImageObj, SWwatermarkObj, SWleft, SWtop;
var SWscreenWidth, SWscreenHeight, SWwinWidth = 0, SWwinHeight = 0, SWparams, SWwindowNam, SWaction;
function WBShrinkWrapper(action) {
	if (SWVersion() && action[4].indexOf("Reference!") == -1 && action[4] != "#") {
		SWwinHeightComp = (SWisWin && SWisIE)|| SWisSafari || SWisOmniWeb || SWisOpera ? action[8] : 0;
		SWaction = action;
		SWwindowObj = "newWindowObject";
		SWwindowNam = (action[2].length > 0 ? action[2] : "SWnewWindowName");
		var windowTite = (action[3].length > 0 ? action[3] : "Shrink Wrapper");
		SWparams = "";
		SWscreenWidth = screen.width, SWscreenHeight = screen.height;
		if (action[5] > 0) SWwinWidth = action[5];
		if (action[6] > 0) SWwinHeight = action[6];
		SWSetCoord(SWaction, SWwinWidth, SWwinHeight + SWwinHeightComp, SWscreenWidth, SWscreenHeight);
		SWparams += "width=" + SWwinWidth;
		SWparams += ",height=" + SWwinHeight;
		SWparams += ",toolbar=0,location=0,directories=0,status=0,menubar=0,favorites=0,scrollbars=0";
		SWparams += ",resizable=" + (SWisNav4 || action[7] ? "1" : "0");
		SWparams += (SWisIE) ? ",top=" + SWtop + ",left=" + SWleft : ",screenY=" + SWtop + ",screenX=" + SWleft;
		SWimageObj = "imageObject", SWprotectImageObj = "protectImage", SWwatermarkObj = "watermark";
		var htmlContent = '<html><head>';
		htmlContent += '<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">';
		htmlContent += '<title>' + windowTite + '</title>';
		htmlContent += '<style type="text/css" media="screen"><!--';
		htmlContent += '#layer1 { position: absolute; z-index: 0; top: 0px; left: 0px; width: 100px; height: 100px; visibility: visible; display: block }';
		if (action[13].indexOf("Reference!") == -1 && action[13] != "#") {
			htmlContent += '#layer2 { position: absolute; z-index: 1; top: 0px; left: 0px; width: 100px; height: 100px; visibility: visible; display: block }';
		}
		if (action[14].indexOf("Reference!") == -1 && action[14] != "#") {
			htmlContent += '#layer3 { position: absolute; z-index: 2; top: 0px; left: 0px; width: 100px; height: 100px; visibility: visible; display: block }';
		}
		if (action[12].indexOf("Reference!") == -1 && action[12] != "#") {
			htmlContent += '#layer4 { position: absolute; z-index: 3; top: 10px; left: 10px; width: 68px; height: 16px; visibility: visible; display: block }';
		}
		htmlContent += '--></' + 'style>';
		htmlContent += '<script language="Javascript">function SWCloseWindow() { self.window.close(); return;}</' + 'script>';
		if (action[1] == 1) {
			htmlContent += '</head><body bgcolor="#ffffff">';
			htmlContent += '<div id="layer1"><img src="' + action[4] + '" name="' + SWimageObj + '"></div>';
			if (action[13].indexOf("Reference!") == -1 && action[13] != "#") {
				htmlContent += '<div id="layer2"><img src="' + action[13] + '" name="' + SWprotectImageObj + '"></div>';
			}
			if (action[14].indexOf("Reference!") == -1 && action[14] != "#") {
				htmlContent += '<div id="layer3"><img src="' + action[14] + '" name="' + SWwatermarkObj + '"></div>';
			}
			if (action[12].indexOf("Reference!") == -1 && action[12] != "#") {
				htmlContent += '<div id="layer4"><a href="Javascript:void(SWCloseWindow())"><img src="' + action[12] + '" alt="" width="68" height="16" border="0"></div></a>';
			}
		}
		else if (action[1] == 0) {
			htmlContent += '</head><body bgcolor="#ffffff" background="' + action[4] + '">';
			if (action[14].indexOf("Reference!") == -1 && action[14] != "#") {
				htmlContent += '<div id="layer3"><img src="' + action[14] + '" name="' + SWwatermarkObj + '" border="0"></div>';
			}
			if (action[12].indexOf("Reference!") == -1 && action[12] != "#") {
				htmlContent += '<div id="layer4"><a href="Javascript:void(SWCloseWindow())"><img src="' + action[12] + '" alt="" width="68" height="16" border="0"></div></a>';
			}
		}
		htmlContent += '</body></html>';
		SWNewWind[SWwindowObj] = window.open("", SWwindowNam, SWparams);
		SWNewWind[SWwindowObj].document.write(htmlContent);
		SWNewWind[SWwindowObj].document.close();
		if (action[1] == 0 && (SWW3C || SWisIE4)) {
			SWNewWind[SWwindowObj].moveTo(SWleft, SWtop);
			SWResizePage(SWwinWidth, SWwinHeight + SWwinHeightComp);
		}
		if (action[1] == 1) {
			if (SWisIE || SWW3C) {
				SWsetDelay = setInterval('if (SWNewWind[SWwindowObj].document.images[0].width >= 100) { SWGetImageObject() }', 50);
			}
			else {
				SWsetDelay = setInterval('if (SWNewWind[SWwindowObj].document.layer1.document.images[0].width >= 100) { SWGetImageObject() }', 50);
			}
		}
		else if (action[1] == 0 && action[14].indexOf("Reference!") == -1 && action[14] != "#") {
			if (SWisIE || SWW3C) {
				SWsetDelay = setInterval('if (SWNewWind[SWwindowObj].document.images[0].width >= 100) { SWCenterWatermark() }', 50);
			}
			else {
				SWsetDelay = setInterval('if (SWNewWind[SWwindowObj].document.layer1.document.images[0].width >= 100) { SWCenterWatermark() }', 50);
			}
		}
	}
	SWNewWind[SWwindowObj].focus();
	return;
}
function SWResizePage(width, height) {
	if (SWisIE) {
		SWNewWind[SWwindowObj].resizeTo(width, height);
	}
	else {
		var temp = SWNewWind[SWwindowObj].innerWidth;
		SWNewWind[SWwindowObj].innerWidth = temp-1;
		if (SWNewWind[SWwindowObj].innerWidth == temp-1) {
			SWNewWind[SWwindowObj].innerWidth = width;
			SWNewWind[SWwindowObj].innerHeight = height;
		}
		else {
			SWNewWind[SWwindowObj].resizeTo(width, height);
		}
	}
	return;
}
function SWSetCoord(action, width, height, screenWidth, screenHeight) {
	if (action[9] == 0) {
		SWleft = (screenWidth - width)/2;
		SWtop = (screenHeight - height)/2;
	}
	else if (action[9] == 1) {
		SWleft = 0;
		SWtop = 0;
	}
	else if (action[9] == 2) {
		SWleft = 0;
		SWtop = screenHeight - height - 12;
	}
	else if (action[9] == 3) {
		SWleft = screenWidth - width - 12;
		SWtop = 0;
	}
	else if (action[9] == 4) {
		SWleft = screenWidth - width - 12;
		SWtop = screenHeight - height - 12;
	}
	else if (action[9] == 5) {
		SWleft = width+action[11]>screenWidth ? action[11]-(width+action[10]-screenWidth)-12 : action[11];
		SWtop = height+action[10]>screenHeight ? action[10]-(height+action[10]-screenHeight)-12 : action[10];
	}
	return;
}
function SWGetImageObject() {
	clearInterval(SWsetDelay);
	if (SWisIE || SWW3C) {
		var imgObj = SWNewWind[SWwindowObj].document.images[SWimageObj];
		var protectImgObj = SWNewWind[SWwindowObj].document.images[SWprotectImageObj];
		var watermarkObj = SWNewWind[SWwindowObj].document.images[SWwatermarkObj];
	}
	else {
		var imgObj = SWFindImageObject(SWNewWind[SWwindowObj], SWimageObj, "layer1");
		var protectImgObj = SWFindImageObject(SWNewWind[SWwindowObj], SWprotectImageObj, "layer2");
		var watermarkObj = SWFindImageObject(SWNewWind[SWwindowObj], SWwatermarkObj, "layer3");
	}
	SWSetCoord(SWaction, imgObj.width, imgObj.height + SWwinHeightComp, SWscreenWidth, SWscreenHeight);
	SWNewWind[SWwindowObj].moveTo(SWleft, SWtop);
	SWResizePage(imgObj.width, imgObj.height + SWwinHeightComp);
	SWNewWind[SWwindowObj].moveTo(SWleft, SWtop);
	SWwinWidth = imgObj.width;
	SWwinHeight = imgObj.height;
	if (protectImgObj) { 
		protectImgObj.width = imgObj.width;
		protectImgObj.height = imgObj.height;
	}
	if (watermarkObj) {
		SWSetCenter(watermarkObj, imgObj.width, imgObj.height);
	}
	return;
}
function SWCenterWatermark() {
	clearInterval(SWsetDelay);
	if (SWisIE || SWW3C) {
		var watermarkObj = SWNewWind[SWwindowObj].document.images[SWwatermarkObj];
	}
	else {
		var watermarkObj = SWFindImageObject(SWNewWind[SWwindowObj], SWwatermarkObj, "layer3");
	}
	SWSetCenter(watermarkObj, SWwinWidth, SWwinHeight + SWwinHeightComp);
	return;
}
function SWSetCenter(watermarkImage, imageWidth, imageHeight) { 
	var obj = SWGetObject("layer3");
	watermarkImage.width = watermarkImage.width > imageWidth ? imageWidth : watermarkImage.width;
	watermarkImage.height = watermarkImage.height > imageHeight ? imageHeight : watermarkImage.height;
	var widthOffset = imageWidth - watermarkImage.width > 0 ? (imageWidth - watermarkImage.width) / 2 : 0;
	var heighthOffset = (imageHeight - watermarkImage.height) / 2;
	if (obj) SWScrollTo(obj, widthOffset, heighthOffset);
	return;
}
function SWScrollTo(obj, x, y) {
	if (SWW3C) {
		obj.style.left = x + "px";
		obj.style.top = y + "px";
	}
	else if (SWisIE4) {
		obj.style.pixelLeft = x;
		obj.style.pixelTop = y;
	}
	else {
		obj.moveTo(x, y);
	}
	return;
}
function SWFindImageObject(newWindow, imgObj, thisLayer) {
	if (newWindow.document[thisLayer] != null) {
		var imgObj = newWindow.document[thisLayer].document[imgObj];
	}
	return imgObj;
}
function SWGetObject(objName) {
	var params;
	if (SWW3C) {
		params = eval('SWNewWind[SWwindowObj].document.getElementById("' + objName + '")');
	}
	else if (SWisIE4) {
		params = eval("SWNewWind[SWwindowObj].document.all." + objName);
	}
	else {
		params = SWFindLayerObject(objName, 0);
	}
	return params;
}
function SWFindLayerObject(layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = thisLayer.document;
	}
	else {
		var thisDocument = SWNewWind[SWwindowObj].document;
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = SWFindLayerObject(layer, thisDocument.layers[i]); 
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function SWVersion() {
	return (navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4)
          || (navigator.appName.indexOf("Explorer") >= 0 && parseInt(navigator.appVersion.charAt(0)) >= 4);
}
// MailPrep.action v1.2 - September, 2005
// © Copyright 2003 by Walter Blady
// All rights reserved
var MPVFmailto, MPVFflag;
function WBMailPrep(action) {
	if (MPVersion()) {
		var content = "mailto:" + action[1];
		content += action[4].length > 0 ? " ?Subject=" + action[4] : "";
		content += action[2].length > 0 ? " &cc=" + action[2] : "";
		content += action[3].length > 0 ? " &bcc=" + action[3] : "";
		content += action[5].length > 0 ? " &body=" + escape(action[5]) : "";
		MPVFflag = action[6];
		MPVFmailto = "mailto:" + action[1];
		MPVFmailto += action[4].length > 0 ? " ?Subject=" + action[4] : "";
		MPVFmailto += action[2].length > 0 ? " &cc=" + action[2] : "";
		MPVFmailto += action[3].length > 0 ? " &bcc=" + action[3] : "";
		if (!MPVFflag) window.location = content;
	}
	return;
}
function MPVersion() {
	return true;
}
//
//-->

function CSOpenPositionWindow(action) {
// Matt Ridley, Dec. '98
	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");	
	wf = wf + ",left=" + action[12];
	wf = wf + ",top=" + action[13];	
	window.open(action[1],action[2],wf);
}

