// WBCyberGallerySetup v5.0 - December, 2009
// Copyright © 2003 by Walter Blady
// All rights reserved
var CGisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var CGisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var CGisIE = window.navigator.userAgent.indexOf("MSIE") >= 0;
var CGisNN = window.navigator.userAgent.indexOf("Netscape") >= 0 || window.navigator.userAgent.indexOf("Navigator") >= 0;
var CGisOpera = window.navigator.userAgent.indexOf("Opera") >= 0;
var CGisW3C = document.getElementById ? true : false;
var CGisWin = navigator.platform.indexOf("Win") > -1;
var CGisMac = navigator.platform.indexOf("Mac") > -1;
var CGisMacIE = CGisMac && CGisIE;
var CGisMacNN = CGisMac && CGisNN && parseInt(navigator.appVersion.charAt(0)) < 8;
var CGisWinIE = CGisWin && navigator.appName.indexOf("Explorer") > -1;
var CGisWinIE7 = CGisWin && navigator.appVersion.indexOf("MSIE 7") >= 0;
var CGimgm = null, CGboxm = null, CGboxb = null, CGboxw = null, CGboxc = null, CGboxl = null, CGimgn, CGvis, CGhid;
var CGboxmLeft = 0, CGboxmTop = 0, CGboxcHeight = 0, CGboxcWidth = 0, CGSnameTag = "", CGSaction, CGSdelay, CGNNfixW, CGNNfixH;
var CGvis = (CGisW3C || CGisIE4) ? "visible" : "show";
var CGhid = (CGisW3C || CGisIE4) ? "hidden" : "hide";
document.writeln('<head>');
document.writeln('<style type="text/css" media="screen"><!--');
document.writeln('#CGbackgroundLayer { height: auto; width: auto; left: 0px; top: 0px; position: absolute; z-index: 100; visibility: hidden; }');
document.writeln('#CGimageLayer { left: 290px; top: 164px; z-index: 101; position: absolute; visibility: hidden; }');
document.writeln('#CGwatermarkLayer { left: 0px; top: 0px; z-index: 102; position: absolute; visibility: hidden; }');
document.writeln('#CGzipLayer { height: auto; left: 0px; top: 0px; z-index: 101; position: absolute; visibility: hidden; }');
document.writeln('#CGcaptionLayer { height: auto; left: 0px; top: 0px; z-index: 102; position: absolute; visibility: hidden; }');
document.writeln('#CGlineLayer { height: auto; left: 0px; top: 0px; z-index: 100; position: absolute; visibility: hidden; }');
document.writeln('#CGshadowLayer { height: auto; left: 0px; top: 0px; z-index: 100; position: absolute; visibility: hidden; }');
document.writeln('--></style>');
document.writeln('</head><body>');
document.writeln('<div id="CGbackgroundLayer"></div>');
document.writeln('<div id="CGimageLayer"><img id="CGpix" src="#" alt="" name="CGpix" border="0" /></div></body>');
document.writeln('<div id="CGwatermarkLayer"></div>');
document.writeln('<div id="CGzipLayer"></div>');
document.writeln('<div id="CGcaptionLayer"></div>');
document.writeln('<div id="CGlineLayer"><img id="CGpix2" src="#" alt="" name="CGpix2" border="0" /></div>');
document.writeln('<div id="CGshadowLayer"></div>');
function WBCyberGallerySetup(action) {
	if (CGSVersion()) { 
		CGSaction =  action;
		CGSsetDelay = setInterval("CGSFinishUp()", 200);
	}
	CGSdelay = 100;
	return;
}
function CGSFinishUp() {
	clearInterval(CGSsetDelay);
	window.onscroll = CGScrollSet;
	window.onresize = CGScrollSet;
	CGboxb = document.getElementById("CGbackgroundLayer");
	CGboxb.style.top = 0 + "px";
	CGboxb.style.left = 0 + "px";
	CGboxb.doOpacity = CGDOpacity;
	CGboxb.dimming = CGSaction[1];
	CGboxb.opa = CGboxb.dimming ? parseInt(CGSaction[2]) : 0;
	CGboxb.showHide = CGSShowHide;
	CGboxb.style.backgroundColor = CGSaction[3];
	CGboxb.bimage = CGSaction[4];
	CGboxb.isImage = CGboxb.bimage != "" && CGboxb.bimage != "#";
	CGboxb.style.backgroundRepeat = "no-repeat";
	CGboxb.style.backgroundPosition = "center";
	CGboxm = document.getElementById("CGimageLayer");
	CGboxm.setSize = CGSSetBoxSize;
	CGboxm.scrollto = CGSScrollTo;
	CGboxm.showHide = CGSShowHide;
	if (CGboxm.addEventListener) {
		CGboxm.addEventListener("mousedown", CGSDoHREF, false);
	}
	else if (CGboxm.attachEvent) {
		CGboxm.attachEvent("onmousedown", CGSDoHREF);
	}
	else {
		CGboxm.onmousedown = CGSDoHREF;
	}
	CGboxm.autoClose = CGSaction[8];
	CGboxm.transMode = CGSaction[30];
	CGboxm.transTics = parseInt(CGSaction[31]);
	CGboxm.transSpeed = parseInt(CGSaction[32]);
	CGboxm.style.backgroundColor = "#FFFFFF";
	var border = CGSaction[6].replace(/D/g, "");
	CGboxm.borderSize = border > 0 ? parseInt(CGSaction[6]) : 0;
	CGboxm.style.border = CGSaction[7] + " " + CGSaction[5] + " " + CGboxm.borderSize + "px";
	CGimgm = CGboxm.lastChild;
	CGboxw = document.getElementById("CGwatermarkLayer");
	if (!CGisMacIE) {
		CGboxw.isImage = CGSaction[9] != "" && CGSaction[9] != "#";
		if (CGboxw.isImage) {
			CGboxw.style.backgroundImage = "url(" + CGSaction[9] + ")";
			CGboxw.style.backgroundRepeat = "no-repeat";
			CGboxw.style.backgroundPosition = "center";
		}
	}
	CGboxw.doOpacity = CGDOpacity;
	CGboxw.setSize = CGSSetBoxSize;
	CGboxw.scrollto = CGSScrollTo;
	CGboxw.showHide = CGSShowHide;
	CGboxw.opa = parseInt(CGSaction[10]);
	CGZipOn();
	CGboxc = document.getElementById("CGcaptionLayer");
	CGboxc.scrollto = CGSScrollTo;
	CGboxc.showHide = CGSShowHide;
	if (CGSaction[11] != 0) {
		CGboxc.style.fontFamily = CGSaction[11] == 1 ? CGSaction[17] : CGSaction[11];
	}
	CGboxc.fontFamilyDefault = CGboxc.style.fontFamily;
	if (parseInt(CGSaction[12]) != 0) CGboxc.style.fontSize = CGSaction[12].search(/\D/g) != -1 ? CGSaction[12] : CGSaction[12] + "px";
	CGboxc.fontSizeDefault = CGboxc.style.fontSize;
	var CGa13 = parseInt(CGSaction[13]) == 0 ?  CGSaction[12] : CGSaction[13];
	if (parseInt(CGa13) != 0) CGboxc.style.lineHeight = CGa13.search(/\D/g) != -1 ? CGa13 : CGa13 + "px";
	CGboxc.lineHeightDefault = CGboxc.style.lineHeight;
	if (CGSaction[14] != "") CGboxc.style.fontWeight = CGSaction[14];
	CGboxc.fontWeightDefault = CGboxc.style.fontWeight;
	if (CGSaction[15] != "") CGboxc.style.fontStyle = CGSaction[15];
	CGboxc.fontStyleDefault = CGboxc.style.fontStyle;
	CGboxc.style.color = CGSaction[16];
	CGboxc.colorDefault = CGboxc.style.color;
	if (parseInt(CGSaction[18]) != 0) CGboxc.style.textIndent = CGSaction[18].search(/\D/g) != -1 ? CGSaction[18] : CGSaction[18] + "px";
	CGboxc.textIndentDefault = CGboxc.style.textIndent;
	if (parseInt(CGSaction[19]) != 0) CGboxc.style.wordSpacing = CGSaction[19].search(/\D/g) != -1 ? CGSaction[19] : CGSaction[19] + "px";
	CGboxc.wordSpacingDefault = CGboxc.style.wordSpacing;
	if (parseInt(CGSaction[20]) != 0) CGboxc.style.letterSpacing = CGSaction[20].search(/\D/g) != -1 ? CGSaction[20] : CGSaction[20] + "px";
	CGboxc.letterSpacingDefault = CGboxc.style.letterSpacing;
	if (parseInt(CGSaction[21]) != 0) CGboxc.style.margin = CGSaction[21].search(/\D/g) != -1 ? CGSaction[21] : CGSaction[21] + "px";
	CGboxc.mar = parseInt(CGSaction[21]);
	CGboxc.marDefault = CGboxc.mar;
	if (parseInt(CGSaction[22]) != 0) CGboxc.style.padding = CGSaction[22].search(/\D/g) != -1 ? CGSaction[22] : CGSaction[22] + "px";
	CGboxc.pad = parseInt(CGSaction[22]);
	CGboxc.padDefault = CGboxc.pad;
	CGboxc.fixedWidth = parseInt(CGSaction[23]) > 0 ? parseInt(CGSaction[23]) : 0;
	CGboxc.fixedWidthDefault = CGboxc.fixedWidth;
	var border = CGSaction[25].replace(/D/g, "");
	CGboxc.borderSize = border != "0" ? parseInt(border) : 0;
	CGboxc.style.border = CGSaction[26] + " " + CGSaction[24] + " " + CGboxc.borderSize + "px";
	CGboxc.borderDefault = CGboxc.style.border;
	if (CGSaction[27] == 0) {
		CGboxc.style.backgroundColor = null;
	}
	else if (CGSaction[27] == 1) {
		CGboxc.style.backgroundColor = CGSaction[28]
	}
	else if (CGSaction[27] == 2 && !CGisMacIE) {
		CGboxc.style.backgroundImage = "url(" + CGSaction[29] + ")";
		CGboxc.style.backgroundRepeat = "no-repeat";
		CGboxc.style.backgroundPosition = "center";
	}
	CGboxc.backgroundColorDefault = CGboxc.style.backgroundColor;
	CGboxc.backgroundImageDefault = CGboxc.style.backgroundImage;
	CGboxs = document.getElementById("CGshadowLayer");
	CGboxs.showHide = CGSShowHide;
	CGboxs.shadowOn = CGSaction[33];
	CGboxs.style.backgroundColor = CGboxs.shadowOn ? CGSaction[34] : "";
	CGboxs.shadowVoffset = CGboxs.shadowOn ? parseInt(CGSaction[35]) : 0;
	CGboxs.shadowHoffset = CGboxs.shadowOn ? parseInt(CGSaction[36]) : 0;
	CGboxs.doOpacity = CGDOpacity;
	CGboxs.opa = parseInt(CGSaction[37]);
	CGboxs.shadowOnDefault = CGboxs.shadowOn;
	CGboxs.backgroundColorDefault = CGboxs.style.backgroundColor;
	CGboxs.shadowVoffsetDefault = CGboxs.shadowVoffset;
	CGboxs.shadowHoffsetDefault = CGboxs.shadowHoffset;
	CGboxs.opaDefault = CGboxs.opa;
	CGboxl = document.getElementById("CGlineLayer");
	CGboxl.showHide = CGSShowHide;
	CGboxl.windowOn = CGSaction[38];
	CGboxl.windowBorder = CGboxl.windowOn > 0 ? parseInt(CGSaction[39]) : 0;
	CGboxl.style.backgroundColor = CGboxl.windowOn > 0 && CGSaction[42] == "" ? "#FFFFFF" : "";
	CGboxl.scrollSpeed = parseInt(CGSaction[40]);
	CGboxl.scrollInterval = parseInt(CGSaction[41]);
	CGimgl = CGboxl.lastChild;
	CGboxl.image = CGSaction[42];
	CGboxl.keylineColor = CGSaction[24] != "" ? CGSaction[24] : "#FFFFFF";
	CGboxl.keyline = CGSaction[42].toLowerCase().indexOf("keyline.") > -1;
	CGboxl.style.border = CGboxl.keyline ? "solid " + CGboxl.keylineColor + " 1px" : "solid #FFFFFF 0px";
	CGboxl.keylineDefault = CGboxl.keyline;
	CGboxl.keylineColorDefault = CGboxl.keylineColor;
	CGboxl.keylineBorderDefault = CGboxl.style.border;
	CGboxl.windowOnDefault = CGboxl.windowOn;
	CGboxl.windowBorderDefault = CGboxl.windowBorder;
	CGboxl.backgroundColorDefault = CGboxl.style.backgroundColor;
	CGboxl.scrollSpeedDefault = CGboxl.scrollSpeed;
	CGboxl.scrollIntervalDefault = CGboxl.scrollInterval;
	CGboxl.imageDefault = CGboxl.image;
	CGboxz = document.getElementById("CGzipLayer");
	CGboxz.trigger = CGboxm;
	CGboxz.scrollto = CGSScrollTo;
	CGboxz.showHide = CGSShowHide;
	CGboxz.scrollSpeed = CGboxl.scrollSpeed;
	CGboxz.scrollInterval = CGboxl.scrollInterval;
	if (CGSaction[43] != 0) {
		CGboxz.style.fontFamily = CGSaction[43] == 1 ? CGSaction[49] : CGSaction[43];
	}
	CGboxz.fontFamilyDefault = CGboxc.style.fontFamily;
	if (parseInt(CGSaction[44]) != 0) CGboxz.style.fontSize = CGSaction[44].search(/\D/g) != -1 ? CGSaction[44] : CGSaction[44] + "px";
	CGboxz.fontSizeDefault = CGboxz.style.fontSize;
	var CGa13 = parseInt(CGSaction[45]) == 0 ?  CGSaction[44] : CGSaction[45];
	if (parseInt(CGa13) != 0) CGboxz.style.lineHeight = CGa13.search(/\D/g) != -1 ? CGa13 : CGa13 + "px";
	CGboxz.lineHeightDefault = CGboxz.style.lineHeight;
	if (CGSaction[46] != "") CGboxz.style.fontWeight = CGSaction[46];
	CGboxz.fontWeightDefault = CGboxz.style.fontWeight;
	if (CGSaction[47] != "") CGboxz.style.fontStyle = CGSaction[47];
	CGboxz.fontStyleDefault = CGboxz.style.fontStyle;
	CGboxz.style.color = CGSaction[48];
	CGboxz.colorDefault = CGboxz.style.color;
	if (parseInt(CGSaction[50]) != 0) CGboxz.style.textIndent = CGSaction[50].search(/\D/g) != -1 ? CGSaction[50] : CGSaction[50] + "px";
	CGboxz.textIndentDefault = CGboxz.style.textIndent;
	if (parseInt(CGSaction[51]) != 0) CGboxz.style.wordSpacing = CGSaction[51].search(/\D/g) != -1 ? CGSaction[51] : CGSaction[51] + "px";
	CGboxz.wordSpacingDefault = CGboxz.style.wordSpacing;
	if (parseInt(CGSaction[52]) != 0) CGboxz.style.letterSpacing = CGSaction[52].search(/\D/g) != -1 ? CGSaction[52] : CGSaction[52] + "px";
	CGboxz.letterSpacingDefault = CGboxz.style.letterSpacing;
	if (parseInt(CGSaction[53]) != 0) CGboxz.style.margin = CGSaction[53].search(/\D/g) != -1 ? CGSaction[53] : CGSaction[53] + "px";
	CGboxz.mar = parseInt(CGSaction[53]);
	CGboxz.marDefault = CGboxz.mar;
	if (parseInt(CGSaction[54]) != 0) CGboxz.style.padding = CGSaction[54].search(/\D/g) != -1 ? CGSaction[54] : CGSaction[54] + "px";
	CGboxz.pad = parseInt(CGSaction[54]);
	CGboxz.padDefault = CGboxz.pad;
	CGboxz.fixedWidth = parseInt(CGSaction[55]) > 0 ? parseInt(CGSaction[55]) : 0;
	CGboxz.fixedWidthDefault = CGboxz.fixedWidth;
	if (CGSaction[56] != "") CGboxz.style.textAlign = CGSaction[56];
	CGboxz.textAlignDefault = CGboxz.style.textAlign;
	if (CGSaction[57] == 0) {
		CGboxz.style.backgroundColor = null;
	}
	else if (CGSaction[57] == 1) {
		CGboxz.style.backgroundColor = CGSaction[58]
	}
	else if (CGSaction[57] == 2 && !CGisMacIE) {
		CGboxz.style.backgroundImage = "url(" + CGSaction[59] + ")";
		CGboxz.style.backgroundRepeat = "no-repeat";
		CGboxz.style.backgroundPosition = "center";
	}
	CGboxz.backgroundColorDefault = CGboxz.style.backgroundColor;
	CGboxz.backgroundImageDefault = CGboxz.style.backgroundImage;
	if (CGisIE && !CGisMacIE) {
		if (CGboxb) CGboxb.style.filter = "progid:DXImageTransform.Microsoft.Alpha(enebled=true)";
		CGboxm.style.filter = "progid:DXImageTransform.Microsoft.Alpha(enebled=true)";
		CGboxc.style.filter = "progid:DXImageTransform.Microsoft.Alpha(enebled=true)";
		CGboxs.style.filter = "progid:DXImageTransform.Microsoft.Alpha(enebled=true)";
	}
	if (CGSaction[11] != 0) {
		CGboxc.style.fontFamily = CGSaction[11] == 1 ? CGSaction[17] : CGSaction[11];
	}
	CGboxc.fontFamilyDefault = CGboxc.style.fontFamily;
	if (parseInt(CGSaction[12]) != 0) CGboxc.style.fontSize = CGSaction[12].search(/\D/g) != -1 ? CGSaction[12] : CGSaction[12] + "px";
	CGboxc.fontSizeDefault = CGboxc.style.fontSize;
	var CGa13 = parseInt(CGSaction[13]) == 0 ?  CGSaction[12] : CGSaction[13];
	if (parseInt(CGa13) != 0) CGboxc.style.lineHeight = CGa13.search(/\D/g) != -1 ? CGa13 : CGa13 + "px";
	CGboxc.lineHeightDefault = CGboxc.style.lineHeight;
	if (CGSaction[14] != "") CGboxc.style.fontWeight = CGSaction[14];
	CGboxc.fontWeightDefault = CGboxc.style.fontWeight;
	if (CGSaction[15] != "") CGboxc.style.fontStyle = CGSaction[15];
	CGboxc.fontStyleDefault = CGboxc.style.fontStyle;
	CGboxc.style.color = CGSaction[16];
	CGboxc.colorDefault = CGboxc.style.color;
	if (parseInt(CGSaction[18]) != 0) CGboxc.style.textIndent = CGSaction[18].search(/\D/g) != -1 ? CGSaction[18] : CGSaction[18] + "px";
	CGboxc.textIndentDefault = CGboxc.style.textIndent;
	if (parseInt(CGSaction[19]) != 0) CGboxc.style.wordSpacing = CGSaction[19].search(/\D/g) != -1 ? CGSaction[19] : CGSaction[19] + "px";
	CGboxc.wordSpacingDefault = CGboxc.style.wordSpacing;
	if (parseInt(CGSaction[20]) != 0) CGboxc.style.letterSpacing = CGSaction[20].search(/\D/g) != -1 ? CGSaction[20] : CGSaction[20] + "px";
	CGboxc.letterSpacingDefault = CGboxc.style.letterSpacing;
	if (parseInt(CGSaction[21]) != 0) CGboxc.style.margin = CGSaction[21].search(/\D/g) != -1 ? CGSaction[21] : CGSaction[21] + "px";
	CGboxc.mar = parseInt(CGSaction[21]);
	CGboxc.marDefault = CGboxc.mar;
	if (parseInt(CGSaction[22]) != 0) CGboxc.style.padding = CGSaction[22].search(/\D/g) != -1 ? CGSaction[22] : CGSaction[22] + "px";
	CGboxc.pad = parseInt(CGSaction[22]);
	CGboxc.padDefault = CGboxc.pad;
	CGboxc.fixedWidth = parseInt(CGSaction[23]) > 0 ? parseInt(CGSaction[23]) : 0;
	CGboxc.fixedWidthDefault = CGboxc.fixedWidth;
	var border = CGSaction[25].replace(/D/g, "");
	CGboxc.borderSize = border != "0" ? parseInt(border) : 0;
	CGboxc.style.border = CGSaction[26] + " " + CGSaction[24] + " " + CGboxc.borderSize + "px";
	CGboxc.borderDefault = CGboxc.style.border;
	if (CGSaction[27] == 0) {
		CGboxc.style.backgroundColor = null;
	}
	else if (CGSaction[27] == 1) {
		CGboxc.style.backgroundColor = CGSaction[28]
	}
	else if (CGSaction[27] == 2 && !CGisMacIE) {
		CGboxc.style.backgroundImage = "url(" + CGSaction[29] + ")";
		CGboxc.style.backgroundRepeat = "no-repeat";
		CGboxc.style.backgroundPosition = "center";
	}
	CGboxc.backgroundColorDefault = CGboxc.style.backgroundColor;
	CGboxc.backgroundImageDefault = CGboxc.style.backgroundImage;
	CGboxm.originnerHTML = CGboxm.innerHTML;
	return;
}
function CGSGetImageObj(frameName, imgObjName) {
	var path = frameName.length > 0 ? frameName + "." : "";
	if (CGisW3C || CGisIE) {
		var baseImage = eval(path + "document.images." + imgObjName);
	}
	else {
		baseImage = parseInt(navigator.appVersion.charAt(0)) > 3 ? CGSFindImgElement(imgObjName, 0, path) : eval(path + "document.images[imgObjName]");
	}
	return baseImage;
}
function CGSFindImgElement(baseImage, thisLayer, path) {
	if (path.length != "") {
		var thisDocument = thisLayer ? thisLayer.document : eval(path + "document");
	}
	else {
		var thisDocument = thisLayer ? thisLayer.document : document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = CGSFindImgElement(baseImage, thisDocument.layers[i], path);
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function CGSGetBoxObj(frameName, imgName) {
	var path = frameName.length > 0 ? frameName + "." : "";
	if (CGisW3C) {
		var layerObj = eval(path + 'document.getElementById("' + imgName + '")');
	}
	else if (CGisIE4) {
		var layerObj = eval(path + "document.all." + imgName);
	}
	else {
		var layerObj = CGSFindLayerObject(path, imgName, 0);
	}
	return layerObj;
}
function CGSFindLayerObject(path, layer, thisLayer) {
	if (thisLayer) {
		var thisDocument = eval(path + "thisLayer.document");
	}
	else {
		var thisDocument = eval(path + "document");
	}
	var layerObj = thisDocument[layer];
	if (layerObj) {
		return layerObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			layerObj = CGSFindLayerObject("", layer, thisDocument.layers[i]);
			if (layerObj) {
				break;
			}
		}
	}
	return layerObj;
}
function CGDOpacity(opa) {
	if (CGisIE && !CGisMacIE) {
		this.style.filter = "progid:DXImageTransform.Microsoft.Alpha(enebled=true)";
	}
	if (this.style.MozOpacity != null) {
		this.style.MozOpacity = opa != null ? opa/100 : null;
	}
	else if (CGisIE && !CGisMacIE) {
		this.filters.item("DXImageTransform.Microsoft.Alpha").opacity = opa != null ? opa : -0;
	}
	else {
		this.style.opacity = opa != null ? opa/100 : 0;
	}
	return;
}
function CGSSetBoxSize(w, h) {
	if (CGisW3C || CGisIE4) {
		this.style.width = w + "px";
		this.style.height = h + "px";
	}
	else {
		this.width = w;
		this.height = h;
	}
	return;
}
function CGSScrollTo(x, y) {
	if (CGisW3C) {
		this.style.left = x + "px";
		this.style.top = y + "px";
	}
	else if (CGisIE4) {
		this.style.pixelLeft = x;
		this.style.pixelTop = y;
	}
	else {
		this.moveTo(x, y);
	}
	return;
}
function CGSShowHide(state) {
	if (CGisW3C || CGisIE4) {
		this.style.visibility = state;
	}
	else if (CGisNav4) {
		this.visibility = state;
	}
	return;
}
function CGSDoHREF() {
	if (this.url && this.url != "" && this.url != "#") {
		if (this.win == 0) {
			var w = eval(this.path + "window.location");
			w.href = this.url;
		}
		else {	
			CGNewWind = window.open(this.url, "");
		}
	}
	return;
}
function CGScrollSet() {
	if (CGboxb && CGboxb.style.visibility == "visible") {
		var st = this.document.body.scrollTop + this.document.documentElement.scrollTop, sl = this.document.body.scrollLeft + this.document.documentElement.scrollLeft;
		if (this.innerHeight) {
			CGboxb.style.height = this.innerHeight + st + "px";
			CGboxb.style.width = this.innerWidth + sl + "px";
		}
		else {
			var decw = this.document.documentElement.clientWidth, dbcw = this.document.body.clientWidth;
			var dech = this.document.documentElement.clientHeight, dbch = this.document.body.clientHeight;
			CGboxb.style.width = decw > 0 ? decw + sl + "px" : dbcw + sl + "px";
			CGboxb.style.height = dech > 0 ? dech + st + "px" : dbch + st + "px";
		}
	}
	return;
}
function CGSVersion() {
	return true;
}
//
// WBCyberGallery v7.0 - December, 2009
// Copyright © 2003 by Walter Blady
// All rights reserved
var CGisNav4 = navigator.appName.indexOf("Netscape") >= 0 && parseInt(navigator.appVersion.charAt(0)) == 4;
var CGisIE4 = navigator.appVersion.indexOf("MSIE 4") >= 0;
var CGisIE = window.navigator.userAgent.indexOf("MSIE") >= 0;
var CGisNN = window.navigator.userAgent.indexOf("Netscape") >= 0 || window.navigator.userAgent.indexOf("Navigator") >= 0;
var CGisOpera = window.navigator.userAgent.indexOf("Opera") >= 0;
var CGisW3C = document.getElementById ? true : false;
var CGisWin = navigator.platform.indexOf("Win") > -1;
var CGisMac = navigator.platform.indexOf("Mac") > -1;
var CGisMacIE = CGisMac && CGisIE;
var CGisMacNN = CGisMac && CGisNN && parseInt(navigator.appVersion.charAt(0)) < 8;
var CGisWinIE = CGisWin && navigator.appName.indexOf("Explorer") > -1;
var CGisWinIE7 = CGisWin && navigator.appVersion.indexOf("MSIE 7") >= 0;
var CGsetLoadDelay = 0, CGsetShowDelay = 0, CGleft, CGtop, CGaction, CGboxb, CGboxm, CGboxw, CGboxz, CGimgm, CGduration = "";
var CGslideTimer = 0, CGslideIndex = 0, CGtimer = 0, CGtotalSlides = 0,CGhid, CGvis, CGcaptions, CGNNfixH, CGNNfixW;
var CGpause = false, CGadvance = true, CGslideCounted = false, CGloop, CGholdLoop, CGendOfLoop = false, CGdirection;
function WBCyberGallery(action) {
	if (CGVersion()) { 
		if (parseInt(action[18]) > 3) {
			try {
				CGzip1;
			}
			catch (errorCode) {
				var mess = "CyberGallery can not find the CGCaptions.js file.\n";
				mess += "That file must be linked to this page if you are using zip notices.";
				alert(mess);
				return;
			}
		}
		CGaction = action;
		if (CGboxm.CGtransInt) clearInterval(CGboxm.CGtransInt);
		if (CGboxc.CGtransInt) clearInterval(CGboxc.CGtransInt);
		if (CGboxs.CGtransInt) clearInterval(CGboxs.CGtransInt);
		CGloop = false;
		if (action[1] < 6) {
			var path = CGaction[20] == "" ? "" : CGaction[20] + ".";
			var path2 = CGaction[20] == "" ? "" : CGaction[20];
			CGboxm.slideMode = CGaction[1] > 0 && CGaction[1] < 6 ? true : false;
			CGboxm = eval(path + "CGboxm");
			CGboxw = eval(path + "CGboxw");
			CGboxz = eval(path + "CGboxz");
			CGboxc = eval(path + "CGboxc");
			CGboxl = eval(path + "CGboxl");
			CGboxs = eval(path + "CGboxs");
			CGSdelay = eval(path + "CGSdelay");
			CGboxm.action = action;
			CGboxm.duration = "";
			CGboxm.innerHTML = CGboxm.originnerHTML;
			CGimgm = CGboxm.lastChild;
			CGboxm.path = path;
			CGboxm.path2 = path2;
			CGboxm.win = CGaction[22];
			CGboxm.url = CGaction[21];
			CGboxm.cap = CGcaptions != null;
			CGboxm.wpos = action[10];
			CGboxm.left = parseInt(action[11]);
			CGboxm.top = parseInt(action[12]);
			CGboxm.swipeOver = false;
			CGboxm.pro = action[18] > 0;
			if (CGboxm.pro) {
				if (!CGboxb.dimming) CGboxb.opa = 0;
			}
			CGboxm.swf = CGDoSWF;
			CGboxm.isswffile = false;
			CGboxm.mov = CGDoMOV;
			CGboxm.ismovfile = false;
			CGboxm.loop = action[15];
			CGboxm.autoplay = action[16];
			CGboxm.controller = action[17];
			CGboxm.mar = action[18];
			if (CGboxm.mar == 2) {
				CGDoCopyrightMark();
			}
			else {
				CGDONotCopyrightMark();
			}
			CGboxw.zip = CGboxz;
			CGboxw.zip.miniFlyoutMessage = CGZipNotice;
			if (action[18] == 4 || action[18] == 5) {
				CGboxw.zip.miniFlyoutMessage(parseInt(action[19]));
				CGboxw.onmousemove = CGDoZipOpen;
				CGZipOn();
			}
			else {
				CGboxw.zip.miniFlyoutMessage = null;
				CGboxw.onmousemove = null;
				CGZipOff();
			}
			CGboxc.sou = action[5];
			CGboxc.pos = action[6];
			CGboxc.ali = action[7];
			CGboxc.cid = action[8];
			CGboxc.off = action[9] != "" ? parseInt(action[9]) : 0;
			CGboxl.windowOn = CGaction[25] != 0 ? CGaction[25] : CGboxl.windowOnDefault;
			CGboxl.windowBorder = CGboxl.windowOn > 0 && parseInt(CGaction[26]) > 0 ? parseInt(CGaction[26]) : CGboxl.windowBorderDefault;
			CGboxl.style.backgroundColor = CGaction[29] == "" ? CGboxl.backgroundColorDefault : "";
			CGboxl.scrollSpeed = CGaction[27] != "" && CGaction[27] != "0" ? parseInt(CGaction[27]) : CGboxl.scrollSpeedDefault;
			CGboxl.scrollInterval = CGaction[28] != "" && CGaction[28] != "0" ? parseInt(CGaction[28]) : CGboxl.scrollIntervalDefault;
			CGimgl.src = null;
			CGimgl.src = CGaction[29] != "" ? CGaction[29] : CGboxl.imageDefault;
			CGboxl.keylineColor = CGaction[48] != "" ? CGaction[48] : CGboxl.keylineColorDefault;
			CGboxl.keyline = CGaction[29].toLowerCase().indexOf("keyline.") > -1 ? CGaction[29].toLowerCase().indexOf("keyline.") > -1 : CGboxl.keylineDefault;
			CGboxl.style.border = CGboxl.keyline ? "solid " + CGboxl.keylineColor + " 1px" : CGboxl.keylineBorderDefault;
			CGboxs.shadowOverride = CGaction[30];
			if (CGboxs.shadowOverride) {
				CGboxs.shadowOn = true;
			}
			else {
				CGboxs.shadowOn = CGboxs.shadowOnDefault;
			}		
			CGboxs.style.backgroundColor = CGboxs.shadowOverride && CGaction[31] != "" ? CGaction[31] : CGboxs.backgroundColorDefault;
			CGboxs.shadowVoffset = CGboxs.shadowOverride && parseInt(CGaction[32]) > 0 ? parseInt(CGaction[32]) : CGboxs.shadowVoffsetDefault;
			CGboxs.shadowHoffset = CGboxs.shadowOverride && parseInt(CGaction[32]) > 0 ? parseInt(CGaction[33]) : CGboxs.shadowHoffsetDefault;
			CGboxs.opa = CGboxs.shadowOverride ? parseInt(CGaction[34]) : CGboxs.opaDefault;
			if (CGaction[35] != 0) {
				CGboxc.style.fontFamily = CGaction[35] == 1 ? CGaction[41] : CGaction[35];
				if (parseInt(CGaction[36]) != 0) {
					CGboxc.style.fontSize = CGaction[36].search(/\D/g) != -1 ? CGaction[36] : CGaction[36] + "px";
				}
				var CGa13 = parseInt(CGaction[37]) == 0 ?  CGaction[36] : CGaction[37];
				if (parseInt(CGa13) != 0) {
					CGboxc.style.lineHeight = CGa13.search(/\D/g) != -1 ? CGa13 : CGa13 + "px";
				}
				if (CGaction[38] != "") {
					CGboxc.style.fontWeight = CGaction[38];
				}
				if (CGaction[39] != "") {
					CGboxc.style.fontStyle = CGaction[39];
				}
				if (CGaction[40] != "") {
					CGboxc.style.color = CGaction[40];
				}
			}
			else {
				CGboxc.style.fontFamily = CGboxc.fontFamilyDefault;
				CGboxc.style.fontSize = CGboxc.fontSizeDefault;
				CGboxc.style.lineHeight = CGboxc.lineHeightDefault;
				CGboxc.style.fontWeight = CGboxc.fontWeightDefault;
				CGboxc.style.fontStyle = CGboxc.fontStyleDefault;
				CGboxc.style.color = CGboxc.colorDefault;
			}
			if (parseInt(CGaction[42]) != 0) {
				CGboxc.style.textIndent = CGaction[42].search(/\D/g) != -1 ? CGaction[42] : CGaction[42] + "px";
			}
			else CGboxc.style.textIndent = CGboxc.textIndentDefault;
			if (parseInt(CGaction[43]) != 0) {
				CGboxc.style.wordSpacing = CGaction[43].search(/\D/g) != -1 ? CGaction[43] : CGaction[43] + "px";
			}
			else CGboxc.style.wordSpacing = CGboxc.wordSpacingDefault;
			if (parseInt(CGaction[44]) != 0) {
				CGboxc.style.letterSpacing = CGaction[44].search(/\D/g) != -1 ? CGaction[44] : CGaction[44] + "px";
			}
			else CGboxc.style.letterSpacing = CGboxc.letterSpacingDefault;
			if (parseInt(CGaction[45]) != 0) {
				CGboxc.style.margin = CGaction[45].search(/\D/g) != -1 ? CGaction[45] : CGaction[45] + "px";
				CGboxc.mar = parseInt(CGaction[45]);
			}
			else {
				CGboxc.style.margin = CGboxc.marDefault;
				CGboxc.mar = parseInt(CGboxc.marDefault);
			}
			if (parseInt(CGaction[46]) != 0) {
				CGboxc.style.padding = CGaction[46].search(/\D/g) != -1 ? CGaction[46] : CGaction[46] + "px";
				CGboxc.pad = parseInt(CGaction[46]);
			}
			else {
				CGboxc.style.padding = CGboxc.padDefault;
				CGboxc.pad = parseInt(CGboxc.padDefault);
			}
			if (parseInt(CGaction[47]) != 0) {
				CGboxc.fixedWidth = parseInt(CGaction[47]) > 0 ? parseInt(CGaction[47]) : 0;
			}
			else CGboxc.fixedWidth = CGboxc.fixedWidthDefault;
			if (parseInt(CGaction[49]) != 0) {
				var border = parseInt(CGaction[49].replace(/D/g, ""));
				CGboxc.borderSize = border > 0 ? border : 0;
				CGboxc.style.border = CGaction[50] + " " + CGaction[48] + " " + CGboxc.borderSize + "px";
			}
			else CGboxc.style.border = CGboxc.borderDefault;
			CGboxc.style.backgroundColor = CGaction[51] == 1 ? CGaction[52] : CGboxc.backgroundColorDefault;
			CGboxc.style.backgroundImage = CGaction[51] == 2 ? CGaction[53] : CGboxc.backgroundImageDefault;
			if (CGboxb && parseInt(action[23]) > 0) CGboxb.opa = parseInt(action[23]);
			CGboxw.opa2 = parseInt(action[24]) > 0 ? parseInt(action[24]) : CGboxw.opa;
			if (CGboxb) {
				var p = CGboxm.path2 == "" ? eval("parent") : eval(CGboxm.path2);
				var st = p.document.body.scrollTop + p.document.documentElement.scrollTop, sl = p.document.body.scrollLeft + p.document.documentElement.scrollLeft;
				if (p.innerHeight) {
					CGboxb.style.height = p.innerHeight + st + "px";
					CGboxb.style.width = p.innerWidth + sl + "px";
				}
				else {
					var decw = p.document.documentElement.clientWidth, dbcw = p.document.body.clientWidth;
					var dech = p.document.documentElement.clientHeight, dbch = p.document.body.clientHeight;
					CGboxb.style.width = decw > 0 ? decw + sl + "px" : dbcw + sl + "px";
					CGboxb.style.height = dech > 0 ? dech + st + "px" : dbch + st + "px";
				}
			}
			if (action[1] > 0 && action[1] < 6 && !CGslideCounted) {
				CGslideCounted = true;
				for (var i = 1; eval("CGImages_" + i + "()").toLowerCase() != "<end>"; i++) { }
				CGtotalSlides = i - 1;
			}
			if (CGboxm.slideMode) {
				CGReleaseAutoClose();
			}
			else if (!CGboxm.autoClose) {
				CGReleaseAutoClose();
				CGDoAutoCloseImg();
			}
			else CGDoAutoClose();
		}
		if (action[1] == 0) {
			CGQuickReturn();
			if (CGboxc.sou > 0 && CGboxc.cid != "" && !CGisNav4) {
				var caption = "";
				if (CGboxc.sou == 1) {
					caption = CGGetImageObj("", CGboxc.cid).alt;
				}
				else if (CGboxc.sou == 2 && CGboxm.cap) {
					caption = eval("CGCaption_" + CGboxc.cid + "()");
				}
				else if (CGboxc.sou == 3 && CGboxm.cap) {
					caption = eval("CGCaption_default"+ "()");
				}
				CGboxc.innerHTML = "";
				CGboxc.innerHTML = caption;
			}
			var img = action[4];
			if (img == "" && CGboxc.cid != "") {
				img = CGGetImageObj("", CGboxc.cid).src;
				if (img) {
					var ex = img.substr(img.lastIndexOf(".", img.length));
					img = img.substr(0, img.lastIndexOf(".")) + "_L" + ex;
				}
			}
			if (img != "") {
				CGboxm.isswffile = img.indexOf(".swf") == -1 ? false : true;
				CGboxm.ismovfile = img.indexOf(".mov") == -1 && img.indexOf(".wmv") == -1  && img.indexOf(".mp3") == -1 ? false : true;
				CGimgn = !CGboxm.isswffile && !CGboxm.ismovfile ? new Image() : new Object();
				CGimgn.src = null;
				CGimgn.src = img;
				if (!CGboxm.isswffile && !CGboxm.ismovfile) {
					CGimgm.src = CGimgn.src;
					if (CGaction[13] != "" && CGaction[13] != "0") CGimgm.width = parseInt(CGaction[13]);
					if (CGaction[14] != "" && CGaction[14] != "0") CGimgm.height = parseInt(CGaction[14]);
				}
				else {
					CGimgm = CGimgn;
					CGimgm.width = CGaction[13] != "" && CGaction[13] != "0" ? parseInt(CGaction[13]) : 320;
					CGimgm.height = CGaction[14] != "" && CGaction[14] != "0" ? parseInt(CGaction[14]) : 240;
					CGimgm.hidden = true;
				}
			}
			if (CGboxb && !CGboxm.isswffile && !CGboxm.ismovfile) {
				if (CGboxb.isImage && !CGimgn.complete) CGboxb.style.backgroundImage = "url(" + CGboxb.bimage + ")";
				CGboxb.showHide(CGvis);
				CGboxb.doOpacity(CGboxb.opa);
			}
			if (!CGboxm.isswffile && !CGboxm.ismovfile) {
				CGsetLoadDelay = setInterval('if (CGimgn.complete) { CGFinishUp() }', CGSdelay);
			}
			else {
				CGsetLoadDelay = setTimeout('CGFinishUp()', CGSdelay);
			}
		}
		else {
			if (action[1] == 6 && CGboxm.pro != null) {
				if (!CGpause) {
					CGdirection = CGadvance;
					clearTimeout(CGslideTimer);
				}
				else {
					CGslideIndex -= 1;
					action = CGboxm.action;
					CGaction = action;
					CGadvance = CGdirection;
					CGloop = CGholdLoop;
					if (CGboxb) CGboxb.showHide(CGvis);
					if (!CGendOfLoop) {
						CGDoSlides();
					}
				}
				CGpause = CGpause ? 0 : 1;
			}
			else if (action[1] == 7 && CGboxm.pro != null) {
				clearTimeout(CGslideTimer);
				clearInterval(CGsetLoadDelay);
				CGboxm.innerHTML = CGboxm.originnerHTML;
				CGimgm = CGboxm.lastChild;
				CGpause = false;
				CGHideAll();
				return;
			}
			if (CGboxb) {
				CGboxb.doOpacity(CGboxb.opa);
				CGboxb.showHide(CGvis);
			}
			if (action[1] == 1 || action[1] == 2) {
				clearTimeout(CGslideTimer);
				clearInterval(CGsetLoadDelay);
				CGpause = false;
				CGtimer = parseInt(action[2])*1000;
				if (action[1] == 1) {
					CGslideIndex = 0;
				}
				CGadvance = true;
				CGloop = action[3];
				CGholdLoop = CGloop;
				CGendOfLoop = false;
				CGDoSlides();
			}
			else if (action[1] == 3) {
				clearTimeout(CGslideTimer);
				clearInterval(CGsetLoadDelay);
				CGpause = false;
				CGtimer = parseInt(action[2])*1000;
				CGadvance = false;
				CGloop = action[3];
				CGholdLoop = CGloop;
				CGendOfLoop = false;
				CGDoSlides();
			}
			else if (action[1] == 4 || action[1] == 5) {
				clearTimeout(CGslideTimer);
				clearInterval(CGsetLoadDelay);
				CGadvance = action[1] == 4 ? true : false;
				CGloop = true;
				CGDoSlides();
			}
		}
	}
	return;
}
function CGDoSlides() {
	CGslideIndex += CGadvance ? 1 : -1;
	if (CGslideIndex > CGtotalSlides) {
		CGslideIndex = CGloop ? 1 : CGslideIndex + -1;
		if (!CGloop) {
			clearInterval(CGslideTimer);
			clearInterval(CGsetLoadDelay);
			CGendOfLoop = true;
			return;
		}
	}
	if (CGslideIndex < 1) {
		CGslideIndex = CGloop ? CGtotalSlides : CGslideIndex + 1;
		if (!CGloop) {
			clearTimeout(CGslideTimer);
			clearInterval(CGsetLoadDelay);
			CGendOfLoop = true;
			return;
		}
	}
	var img = eval("CGImages_" + CGslideIndex + "()");
	CGboxm.duration = CGduration ;
	if (CGboxm.url == "" || CGboxm.url == "#") CGboxm.url = CGurl;
	CGboxm.showHide(CGhid);
	CGboxc.showHide(CGhid);
	CGboxw.showHide(CGhid);
	CGboxl.showHide(CGhid);
	CGboxs.showHide(CGhid);
	if (CGboxc.sou > 0 && !CGisNav4) {
		var caption = "";
		if (CGboxc.sou == 1) {
			caption = CGGetImageObj("", CGcap) ? CGGetImageObj("", CGcap).alt : "";
		}
		else if (CGboxc.sou == 2 && CGboxm.cap) {
			caption = eval("CGCaption_" + CGcap + "()");
		}
		else if (CGboxc.sou == 3 && CGboxm.cap) {
			caption = eval("CGCaption_default"+ "()");
		}
		CGboxc.innerHTML = "";
		CGboxc.innerHTML = caption;
	}
	if (img == "" && CGboxc.cid != "") {
		img = CGGetImageObj("", CGboxc.cid).src;
		if (img) {
			var ex = img.substr(img.lastIndexOf(".", img.length));
			img = img.substr(0, img.lastIndexOf(".")) + "_L" + ex;
		}
	}
	if (img != "") {
		CGboxm.isswffile = img.indexOf(".swf") == -1 ? false : true;
		CGboxm.ismovfile = img.indexOf(".mov") == -1 && img.indexOf(".wmv") == -1  && img.indexOf(".mp3") == -1 ? false : true;
		CGimgn = !CGboxm.isswffile && !CGboxm.ismovfile ? new Image() : new Object();
		CGimgn.src = null;
		CGimgn.src = img;
		CGboxm.innerHTML = CGboxm.originnerHTML;
		CGimgm = CGboxm.lastChild;
		if (!CGboxm.isswffile && !CGboxm.ismovfile) {
			CGimgm.src = CGimgn.src;
			if (CGaction[13] != "" && CGaction[13] != "0") CGimgm.width = parseInt(CGaction[13]);
			if (CGaction[14] != "" && CGaction[14] != "0") CGimgm.height = parseInt(CGaction[14]);
		}
		else {
			CGimgm = CGimgn;
			CGimgm.width = CGaction[13] != "" && CGaction[13] != "0" ? parseInt(CGaction[13]) : 320;
			CGimgm.height = CGaction[14] != "" && CGaction[14] != "0" ? parseInt(CGaction[14]) : 240;
			if (CGimgm.width == "") CGimgm.width = 320;
			if (CGimgm.height == "") CGimgm.height = 240;
			CGimgm.hidden = true;
		}
	}
	if (CGboxb && !CGboxm.isswffile && !CGboxm.ismovfile) {
		if (CGboxb.isImage && !CGimgn.complete) CGboxb.style.backgroundImage = "url(" + CGboxb.bimage + ")";
		CGboxb.showHide(CGvis);
		CGboxb.doOpacity(CGboxb.opa);
	}
	if (!CGboxm.isswffile && !CGboxm.ismovfile) {
		CGsetLoadDelay = setInterval('if (CGimgn.complete) { CGFinishUp() }', CGSdelay);
	}
	else {
		CGsetLoadDelay = setTimeout('CGFinishUp()', CGSdelay);
	}
	return;
}
function CGFinishUp() {
	clearInterval(CGsetLoadDelay);
	if (CGboxb) CGboxb.style.backgroundImage = !CGisOpera && !CGisIE ? null : "url('')";
	CGboxm.setSize(CGimgm.width, CGimgm.height);
	if (!CGisNav4 && CGboxc.sou > 0) {
		var offset = CGboxc.off, fixpad = CGisWinIE ? 0 : CGboxc.pad*2;
		if (!CGisIE) {
			var width = CGboxc.fixedWidth == 0 ? (parseInt(CGboxm.style.width) + CGboxm.borderSize*2) - CGboxc.borderSize*2 - CGboxc.pad*2 : CGboxc.fixedWidth - CGboxc.borderSize*2 - CGboxc.pad*2;
		}
		else {
			var width = CGboxc.fixedWidth == 0 ? (parseInt(CGboxm.style.width) + CGboxm.borderSize*2) : CGboxc.fixedWidth;
		}
		CGboxc.style.width = width + "px";
		if (CGboxc) {
			CGboxc.style.textAlign = CGboxc.ali;
			for (var i in CGboxc) {
				if (i == "offsetHeight") {
					CGboxcHeight = 0;
					if (CGboxc.sou > 0) {
						CGboxcHeight = CGboxc[i];
					}
				}
			}
		}
	}
	var swipeWindow = CGDoPrep();
	var swipeWindowWidth = CGboxl.windowOn > 0 ? swipeWindow[0] : 0;
	var swipeWindowHeight = CGboxl.windowOn > 0 ? swipeWindow[1] : 0;
	if (CGboxm.pro) {
		CGboxw.setSize(CGimgm.width, CGimgm.height);
		CGboxw.showHide(CGvis);
		CGboxw.doOpacity(0);
	}
	else {
		CGboxw.showHide(CGhid);
		CGboxw.doOpacity(0);
	}
	if (CGboxm.wpos > 0) {
		var top, left;
		if (CGboxm.wpos == 1) {
			var p = CGboxm.path2 == "" ? eval("parent") : eval(CGboxm.path2);
			var st = p.document.body.scrollTop > 0 ? p.document.body.scrollTop : p.document.documentElement.scrollTop; 
			var sl = p.document.body.scrollLeft > 0 ? p.document.body.scrollLeft : p.document.documentElement.scrollLeft;
			if (CGisMacIE) var st = p.document.body.scrollTop, sl = p.document.body.scrollLeft;
			var cboxPadMar = CGboxcHeight > 0 ? CGboxc.mar + (CGboxc.pad*2) : 0;
			var mch = parseInt(CGboxm.style.height) + CGboxm.borderSize/2 + CGboxcHeight;
			if (p.innerHeight) {
				left = ((p.innerWidth - CGimgm.width)/2) + sl;
				top = ((p.innerHeight - mch)/2) + st - (CGboxc.off/2);
			}
			else {
				left = ((p.document.body.clientWidth - CGimgm.width)/2) + sl;
				var dech = p.document.documentElement.clientHeight, dbch = p.document.body.clientHeight;
				top = dech > 0 ? ((dech - mch)/2) + st - (CGboxc.off/2) : ((dbch - mch)/2)  + st - (CGboxc.off/2);
			}
		}
		else if (CGboxm.wpos == 2) {
			left = CGboxm.left;
			top = CGboxm.top;
		}
		CGboxm.adjust = 0;
		if (CGboxc.pos == 1) {
			top += CGboxcHeight;
			CGboxm.adjust = CGboxcHeight;
		}
		else if (CGboxc.pos == 0 || CGboxc.pos > 2) {
			top += CGboxcHeight-cboxPadMar*2;
		}
		CGboxm.scrollto(left-(CGboxm.borderSize), top-(CGboxm.borderSize));
		CGboxw.scrollto(left, top);
		CGboxm.boxmtop = parseInt(CGboxm.style.top), CGboxm.boxmleft = parseInt(CGboxm.style.left);
		if (CGboxc.sou) {
			if (CGboxc.fixedWidth == 0) {
				var x = parseInt(CGboxm.style.left) - CGboxc.mar;
			}
			else {
				var imagewidth = parseInt(CGboxm.style.width) + CGboxm.borderSize*2;
				var imageheight = parseInt(CGboxm.style.height) + CGboxm.borderSize*2;
				var captionwidth = parseInt(CGboxc.fixedWidth) - CGboxc.borderSize*2 - CGboxc.pad*2;
				var x = (parseInt(CGboxm.style.left)) - CGboxc.mar - CGboxc.borderSize - CGboxc.pad + (imagewidth-captionwidth)/2;
			}
			if (CGboxc.pos == 0) {
				var left = x;
				var top = CGboxm.boxmtop + CGimgm.height/2 - CGboxcHeight/2 + CGboxm.borderSize;
			}
			else if (CGboxc.pos == 1) {
				var left = x;
				var top = CGboxm.boxmtop - CGboxcHeight - offset;
			}
			else if (CGboxc.pos == 2) {
				var left = x;
				var top = CGboxm.boxmtop + CGimgm.height + CGboxm.borderSize*2 + offset;
			}
			else if (CGboxc.pos == 3) {
				var left = x;
				var top = CGboxm.boxmtop + CGboxm.borderSize + offset;
			}
			else if (CGboxc.pos == 4) {
				var left = x;
				var top = (CGboxm.boxmtop + CGimgm.height) - CGboxcHeight + CGboxm.borderSize*2 - CGboxm.borderSize - offset;
			}
			CGboxc.scrollto(left, top);
		}
	}
	CGsetShowDelay = setTimeout('CGShowAll()', CGSdelay);
	return;
}
function CGShowAll() {
	if (CGboxm.transMode == 2 || CGboxm.transMode == 3) {
		clearInterval(CGboxm.CGtransInt);
		clearInterval(CGboxc.CGtransInt);
		clearInterval(CGboxs.CGtransInt);
		CGboxm.CGfadeIn = true;
		CGboxm.CGtransSta = 0;
		CGboxm.CGtransEnd = !CGisMacNN ? 100 : 99;
		CGboxm.CGtransVal = CGboxm.CGtransSta;
		CGDoOpacity(CGboxm.CGtransVal);
		CGboxm.swipeOver = false;
	}
	CGDoPrep();
	CGDoDropShadow();
	if (CGboxb) {
		CGboxb.doOpacity(CGboxb.opa);
		CGboxb.showHide(CGvis);
	}
	if (CGboxl.windowOn == 1) {
		var t = setTimeout("CGDoHorizSwipeWindow()", 50);
	}
	else if (CGboxl.windowOn == 2) {
		var t = setTimeout("CGDoVertSwipeWindow()", 50);
	}
	else if (CGboxl.windowOn == 3) {
		var t = setTimeout("CGDoCenterSwipeWindow()", 50);
	}
	else if (CGboxl.windowOn == 4) {
		var t = setTimeout("CGDoStillSwipeWindow()", 50);
	}
	else if (CGboxl.windowOn == 5) {
		var t = setTimeout("CGDoZoomImage()", 50);
	}
//...................................................................?
	else {
		CGboxm.swipeOver = true;
		if (CGboxm && !CGboxm.ismovfile) CGboxm.showHide(CGvis);
		if (CGboxc && CGboxc.sou > 0) CGboxc.showHide(CGvis);
		if (CGboxs.shadowOn) {
			CGDoDropShadow();
			CGboxs.doOpacity(0);
			CGboxs.showHide(CGvis);
		}
		if (CGboxm && CGboxm.pro) {
			if (CGboxm.mar == 1 || CGboxm.mar == 5) {
				CGboxw.doOpacity(CGboxw.opa2);
				CGboxw.showHide(CGvis);
			}
		}
		if (CGboxm.transMode == 2 || CGboxm.transMode == 3) {
			CGboxm.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
			CGboxc.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
			CGboxs.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
		}
		else {
			if (CGboxs.shadowOn) {
				CGDoDropShadow();
				CGboxs.doOpacity(CGboxs.opa);
				CGboxs.showHide(CGvis);
				if (CGboxm.isswffile) CGboxm.swf();
				if (CGboxm.ismovfile) CGboxm.mov();
			}
		}
	}
	if (CGaction[1] == 1 || CGaction[1] == 2 || CGaction[1] == 3 || CGaction[1] == 6) {
		var duration = CGboxm.duration == "" ? CGtimer : parseInt(CGboxm.duration) * 1000;
		CGslideTimer = setTimeout("CGDoSlides()", duration);
	}
	return;
}
function CGDoHorizSwipeWindow() {
	if (CGboxl.style.borderLeftWidth == "") CGboxl.style.borderLeftWidth = "0px";
	var swipeWindow = CGDoPrep();
	var swipeWindowWidth = CGboxl.windowOn > 0 ? swipeWindow[0] : 0;
	var swipeWindowHeight = CGboxl.windowOn > 0 ? swipeWindow[1] : 0;
	CGimgl.width = swipeWindowWidth - parseInt(CGboxl.style.borderLeftWidth) * 2;
	CGimgl.height = swipeWindowHeight - parseInt(CGboxl.style.borderLeftWidth) * 2;
	CGboxl.newLeft = parseInt(CGboxm.style.left) - CGboxl.windowBorder;
	CGboxl.newTop = parseInt(CGboxm.style.top) - CGboxc.borderSize - CGboxl.windowBorder - CGboxm.adjust;
	CGboxl.style.left = CGboxl.newLeft + "px";
	CGboxl.style.top = CGboxl.newTop + "px";
	CGboxl.targetWidth = swipeWindowWidth;
	CGboxl.targetHeight = swipeWindowHeight;
	CGboxl.tracktop = (CGboxl.targetHeight/2) - 0;
	CGboxl.trackright = (CGboxl.targetWidth/2) + 2;
	CGboxl.trackbottom = (CGboxl.targetHeight/2) + 0;
	CGboxl.trackleft = (CGboxl.targetWidth/2) - 2;
	CGboxl.style.clip = "rect(" + CGboxl.tracktop + "px " + CGboxl.trackright + "px "  + CGboxl.trackbottom + "px " + CGboxl.trackleft + "px)";
	CGboxl.showHide(CGvis);
	if (CGboxl.keyline) {
		CGboxl.trackright = (CGboxl.targetWidth/2);
		CGboxl.trackleft = (CGboxl.targetWidth/2) - 1;
		CGboxl.style.background = CGboxl.keylineColor;
	}
	CGboxl.CGtransInt = setInterval("if (CGimgl.complete) { CGHStretchHeight() }", CGboxl.scrollInterval);
	return;
}
function CGHStretchHeight() {
	CGboxl.style.clip = "rect(" + CGboxl.tracktop + "px " + CGboxl.trackright + "px "  + CGboxl.trackbottom + "px " + CGboxl.trackleft + "px)";
	CGboxl.tracktop -= CGboxl.scrollSpeed/2;
	CGboxl.trackbottom += CGboxl.scrollSpeed/2;
	if (CGboxl.tracktop <= 0) {
		clearInterval(CGboxl.CGtransInt);
		CGboxl.tracktop = 0;
		CGboxl.trackbottom = CGboxl.targetHeight;
		if (CGboxl.keyline) {
			CGboxl.trackright = (CGboxl.targetWidth/2) + 2;
			CGboxl.trackleft = (CGboxl.targetWidth/2) - 2;
		}
		CGboxl.CGtransInt = setInterval("CGHStretchWidth()", CGboxl.scrollInterval);
	}
	return;
}
function CGHStretchWidth() {
	CGboxl.style.clip = "rect(" + CGboxl.tracktop + "px " + CGboxl.trackright + "px "  + CGboxl.trackbottom + "px " + CGboxl.trackleft + "px)";
	CGboxl.style.background = "";
	CGboxl.trackleft -= CGboxl.scrollSpeed/2;
	CGboxl.trackright += CGboxl.scrollSpeed/2;
	if (CGboxl.trackleft <= 0) {
		clearInterval(CGboxl.CGtransInt);
		CGboxl.trackleft = 0;
		CGboxl.trackright = CGboxl.targetWidth;
		CGboxl.style.clip = "rect(" + CGboxl.tracktop + "px " + CGboxl.trackright + "px "  + CGboxl.trackbottom + "px " + CGboxl.trackleft + "px)";
		CGboxl.style.clip = "rect(" + 0 + "px " + CGboxl.trackright + "px "  + parseInt(CGboxl.trackbottom)+1 + "px " + 0 + "px)";
		if (!CGboxm.ismovfile) CGboxm.showHide(CGvis);
		if (CGboxc.sou > 0) CGboxc.showHide(CGvis);
		CGboxs.showHide(CGvis);
		if (CGboxm.pro && (CGboxm.mar == 1 || CGboxm.mar == 5)) CGboxw.doOpacity(CGboxw.opa2);
		if (CGboxm.transMode == 2 || CGboxm.transMode == 3) {
			CGboxm.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
			CGboxc.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
			CGboxs.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
		}
		else {
			CGDoDropShadow();
			CGboxs.doOpacity(CGboxs.opa);
			CGboxs.showHide(CGvis);
			if (CGboxm.isswffile) CGboxm.swf();
			if (CGboxm.ismovfile) CGboxm.mov();
		}
		CGboxm.swipeOver = true;
	}
	return;
}
function CGDoVertSwipeWindow() {
	if (CGboxl.style.borderLeftWidth == "") CGboxl.style.borderLeftWidth = "0px";
	var swipeWindow = CGDoPrep();
	var swipeWindowWidth = CGboxl.windowOn > 0 ? swipeWindow[0] : 0;
	var swipeWindowHeight = CGboxl.windowOn > 0 ? swipeWindow[1] : 0;
	CGimgl.width = swipeWindowWidth - parseInt(CGboxl.style.borderLeftWidth) * 2;
	CGimgl.height = swipeWindowHeight - parseInt(CGboxl.style.borderLeftWidth) * 2;
	CGboxl.newLeft = parseInt(CGboxm.style.left) - CGboxl.windowBorder;
	CGboxl.newTop = parseInt(CGboxm.style.top) - CGboxc.borderSize - CGboxl.windowBorder - CGboxm.adjust;
	CGboxl.style.left = CGboxl.newLeft + "px";
	CGboxl.style.top = CGboxl.newTop + "px";
	CGboxl.targetWidth = swipeWindowWidth;
	CGboxl.targetHeight = swipeWindowHeight;
	CGboxl.tracktop = (CGboxl.targetHeight/2) - 2;
	CGboxl.trackright = (CGboxl.targetWidth/2) + 0;
	CGboxl.trackbottom = (CGboxl.targetHeight/2) + 2;
	CGboxl.trackleft = (CGboxl.targetWidth/2) - 0;
	CGboxl.style.clip = "rect(" + CGboxl.tracktop + "px " + CGboxl.trackright + "px "  + CGboxl.trackbottom + "px " + CGboxl.trackleft + "px)";
	CGboxl.showHide(CGvis);
	if (CGboxl.keyline) {
		CGboxl.tracktop = (CGboxl.targetHeight/2 - 1);
		CGboxl.trackbottom = (CGboxl.targetHeight/2);
		CGboxl.style.background = CGboxl.keylineColor;
	}
	CGboxl.CGtransInt = setInterval("if (CGimgl.complete) { CGVStretchWidth() }", CGboxl.scrollInterval);
	return;
}
function CGVStretchWidth() {
	CGboxl.style.clip = "rect(" + CGboxl.tracktop + "px " + CGboxl.trackright + "px "  + CGboxl.trackbottom + "px " + CGboxl.trackleft + "px)";
	CGboxl.trackleft -= CGboxl.scrollSpeed/2;
	CGboxl.trackright += CGboxl.scrollSpeed/2;
	if (CGboxl.trackleft <= 0) {
		clearInterval(CGboxl.CGtransInt);
		CGboxl.trackleft = 0;
		CGboxl.trackright = CGboxl.targetWidth;
		if (CGboxl.keyline) {
			CGboxl.tracktop = (CGboxl.targetHeight/2) - 2;
			CGboxl.trackbottom = (CGboxl.targetHeight/2) + 2;
		}
		CGboxl.CGtransInt = setInterval("CGVStretchHeight()", CGboxl.scrollInterval);
	}
	return;
}
function CGVStretchHeight() {
	CGboxl.style.clip = "rect(" + CGboxl.tracktop + "px " + CGboxl.trackright + "px "  + CGboxl.trackbottom + "px " + CGboxl.trackleft + "px)";
	CGboxl.style.background = "";
	CGboxl.tracktop -= CGboxl.scrollSpeed/2;
	CGboxl.trackbottom += CGboxl.scrollSpeed/2;
	if (CGboxl.tracktop <= 0) {
		clearInterval(CGboxl.CGtransInt);
		CGboxl.tracktop = 0;
		CGboxl.trackbottom = CGboxl.targetHeight;
		CGboxl.style.clip = "rect(" + CGboxl.tracktop + "px " + CGboxl.trackright + "px "  + CGboxl.trackbottom + "px " + CGboxl.trackleft + "px)"
		CGboxl.style.clip = "rect(" + 0 + "px " + CGboxl.trackright + "px "  + parseInt(CGboxl.trackbottom)+1 + "px " + 0 + "px)";
		if (!CGboxm.ismovfile) CGboxm.showHide(CGvis);
		if (CGboxc.sou > 0) CGboxc.showHide(CGvis);
		CGboxs.showHide(CGvis);
		if (CGboxm.pro && (CGboxm.mar == 1 || CGboxm.mar == 5)) CGboxw.doOpacity(CGboxw.opa2);
		if (CGboxm.transMode == 2 || CGboxm.transMode == 3) {
			CGboxm.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
			CGboxc.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
			CGboxs.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
		}
		else {
			CGDoDropShadow();
			CGboxs.doOpacity(CGboxs.opa);
			CGboxs.showHide(CGvis);
			if (CGboxm.isswffile) CGboxm.swf();
			if (CGboxm.ismovfile) CGboxm.mov();
		}
		CGboxm.swipeOver = true;
	}
	return;
}
function CGDoCenterSwipeWindow() {
	if (CGboxl.style.borderLeftWidth == "") CGboxl.style.borderLeftWidth = "0px";
	var swipeWindow = CGDoPrep();
	var swipeWindowWidth = CGboxl.windowOn > 0 ? swipeWindow[0] : 0;
	var swipeWindowHeight = CGboxl.windowOn > 0 ? swipeWindow[1] : 0;
	CGimgl.width = swipeWindowWidth - parseInt(CGboxl.style.borderLeftWidth) * 2;
	CGimgl.height = swipeWindowHeight - parseInt(CGboxl.style.borderLeftWidth) * 2;
	CGboxl.newLeft = parseInt(CGboxm.style.left) - CGboxl.windowBorder;
	CGboxl.newTop = parseInt(CGboxm.style.top) - CGboxc.borderSize - CGboxl.windowBorder - CGboxm.adjust;
	CGboxl.style.left = CGboxl.newLeft + "px";
	CGboxl.style.top = CGboxl.newTop + "px";
	CGboxl.targetWidth = swipeWindowWidth;
	CGboxl.targetHeight = swipeWindowHeight;
	CGboxl.tracktop = (CGboxl.targetHeight/2) - 0;
	CGboxl.trackright = (CGboxl.targetWidth/2) + 0;
	CGboxl.trackbottom = (CGboxl.targetHeight/2) + 0;
	CGboxl.trackleft = (CGboxl.targetWidth/2) - 0;
	CGboxl.ticHeight = parseInt(swipeWindowHeight)*CGboxl.scrollSpeed/parseInt(swipeWindowWidth);
	CGboxl.style.clip = "rect(" + CGboxl.tracktop + "px " + CGboxl.trackright + "px "  + CGboxl.trackbottom + "px " + CGboxl.trackleft + "px)";
	CGboxl.showHide(CGvis);
	if (CGboxl.keyline) {
		CGboxl.tracktop = 0;
		CGboxl.trackright = CGboxl.targetWidth/2;
		CGboxl.trackbottom = CGboxl.targetHeight;
		CGboxl.trackleft = CGboxl.targetWidth/2;
	}
	CGboxl.CGtransInt = setInterval("if (CGimgl.complete) { CGCStretchBoth() }", CGboxl.scrollInterval);
	return;
}
function CGCStretchBoth() {
	CGboxl.style.clip = "rect(" + CGboxl.tracktop + "px " + CGboxl.trackright + "px "  + CGboxl.trackbottom + "px " + CGboxl.trackleft + "px)";
	CGboxl.tracktop -= CGboxl.ticHeight/2;
	CGboxl.trackbottom += CGboxl.ticHeight/2;
	CGboxl.trackleft -= CGboxl.scrollSpeed/2;
	CGboxl.trackright += CGboxl.scrollSpeed/2;
	if (CGboxl.tracktop <= 0) {
		CGboxl.tracktop = 0, CGboxl.trackbottom = CGboxl.targetHeight;
	}
	if (CGboxl.trackleft <= 0) {
		CGboxl.trackleft = 0, CGboxl.trackright = CGboxl.targetWidth;
	}
	if (CGboxl.tracktop == 0 && CGboxl.trackleft == 0) {
		clearInterval(CGboxl.CGtransInt);
		CGboxl.style.clip = "rect(" + CGboxl.tracktop + "px " + CGboxl.trackright + "px "  + CGboxl.trackbottom + "px " + CGboxl.trackleft + "px)";
		CGboxl.style.clip = "rect(" + 0 + "px " + CGboxl.trackright + "px "  + parseInt(CGboxl.trackbottom)+1 + "px " + 0 + "px)";
		if (!CGboxm.ismovfile) CGboxm.showHide(CGvis);
		if (CGboxc.sou > 0) CGboxc.showHide(CGvis);
		CGboxs.showHide(CGvis);
		if (CGboxm.pro && (CGboxm.mar == 1 || CGboxm.mar  == 5)) CGboxw.doOpacity(CGboxw.opa2);
		if (CGboxm.transMode == 2 || CGboxm.transMode == 3) {
			CGboxm.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
			CGboxc.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
			CGboxs.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
		}
		else {
			CGDoDropShadow();
			CGboxs.doOpacity(CGboxs.opa);
			CGboxs.showHide(CGvis);
			if (CGboxm.isswffile) CGboxm.swf();
			if (CGboxm.ismovfile) CGboxm.mov();
		}
		CGboxm.swipeOver = true;
	}
	return;
}
function CGDoStillSwipeWindow() {
	if (CGboxl.style.borderLeftWidth == "") CGboxl.style.borderLeftWidth = "0px";
	var swipeWindow = CGDoPrep();
	CGboxl.style.clip = "rect(" + 0 + "px " + swipeWindow[0] + parseInt(CGboxl.style.borderLeftWidth)*2 + "px "  + swipeWindow[1] + parseInt(CGboxl.style.borderLeftWidth)*2 + "px " + 0 + "px)";
	CGboxl.style.left = parseInt(CGboxm.style.left) - CGboxl.windowBorder + "px";
	CGboxl.style.top = parseInt(CGboxm.style.top) - CGboxl.windowBorder - CGboxm.adjust + "px";
	CGboxl.style.width = swipeWindow[0] - parseInt(CGboxl.style.borderLeftWidth) + "px";
	CGboxl.style.height = swipeWindow[1] - parseInt(CGboxl.style.borderLeftWidth) + "px";
	CGimgl.width = parseInt(CGboxl.style.width);
	CGimgl.height = parseInt(CGboxl.style.height);
	var t = setTimeout("if (CGimgl.complete) { CGDoStillSwipeWindowFinish() }", 100);
	return;
}
function CGDoStillSwipeWindowFinish() {
	CGboxl.showHide(CGvis);
	if (!CGboxm.ismovfile) CGboxm.showHide(CGvis);
	if (CGboxc.sou > 0) CGboxc.showHide(CGvis);
	CGboxs.showHide(CGvis);
	if (CGboxm.pro && (CGboxm.mar == 1 || CGboxm.mar == 5)) CGboxw.doOpacity(CGboxw.opa2);
	if (CGboxm.transMode == 2 || CGboxm.transMode == 3) {
		CGboxm.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
		CGboxc.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
		CGboxs.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
	}
	else {
		CGDoDropShadow();
		CGboxs.doOpacity(CGboxs.opa);
		CGboxs.showHide(CGvis);
		if (CGboxm.isswffile) CGboxm.swf();
		if (CGboxm.ismovfile) CGboxm.mov();
	}
	CGboxm.swipeOver = true;
	return;
}
function CGDoZoomImage() {
	if (CGboxm.style.borderLeftWidth == "") CGboxl.style.borderLeftWidth = "0px";
	CGboxm.showHide(CGvis);
	CGboxm.targetWidth = parseInt(CGimgm.width + parseInt(CGboxm.style.borderLeftWidth)*2);
	CGboxm.targetHeight = parseInt(CGimgm.height + parseInt(CGboxm.style.borderLeftWidth)*2);
	CGboxm.tracktop = (CGboxm.targetHeight/2) - 0;
	CGboxm.trackright = (CGboxm.targetWidth/2) + 0;
	CGboxm.trackbottom = (CGboxm.targetHeight/2) + 0;
	CGboxm.trackleft = (CGboxm.targetWidth/2) - 0;
	CGboxm.ticHeight = CGboxm.targetHeight*CGboxl.scrollSpeed/CGboxm.targetWidth;
	CGboxm.style.clip = "rect(" + CGboxm.tracktop + "px " + CGboxm.trackright + "px "  + CGboxm.trackbottom + "px " + CGboxm.trackleft + "px)";
	
	CGboxm.showHide(CGvis);
	CGboxm.fadeInStep = 100/(parseInt(CGboxm.targetHeight/CGboxm.ticHeight));
	CGboxm.totalFadeInSteps = 0;
	CGDoOpacity(CGboxm.totalFadeInSteps);
	CGboxm.CGtransInt = setInterval("CGCZoomImage()", CGboxl.scrollInterval);
	return;
}
function CGCZoomImage() {
	CGDoOpacity(CGboxm.totalFadeInSteps);
	CGboxm.totalFadeInSteps += CGboxm.fadeInStep;
	CGboxm.style.clip = "rect(" + CGboxm.tracktop + "px " + CGboxm.trackright + "px "  + CGboxm.trackbottom + "px " + CGboxm.trackleft + "px)";
	CGboxm.tracktop -= CGboxm.ticHeight/2;
	CGboxm.trackbottom += CGboxm.ticHeight/2;
	CGboxm.trackleft -= CGboxl.scrollSpeed/2;
	CGboxm.trackright += CGboxl.scrollSpeed/2;
	if (CGboxm.tracktop <= 0) {
		CGboxm.tracktop = 0, CGboxm.trackbottom = CGboxm.targetHeight;
	}
	if (CGboxm.trackleft <= 0) {
		CGboxm.trackleft = 0, CGboxm.trackright = CGboxm.targetWidth;
	}
	if (CGboxm.tracktop == 0 && CGboxm.trackleft == 0) {
		clearInterval(CGboxm.CGtransInt);
		CGboxm.style.clip = "rect(" + CGboxm.tracktop + "px " + CGboxm.trackright + "px "  + CGboxm.trackbottom + "px " + CGboxm.trackleft + "px)";
		CGboxm.style.clip = "rect(" + 0 + "px " + CGboxm.trackright + "px "  + parseInt(CGboxm.trackbottom)+1 + "px " + 0 + "px)";
		if (!CGboxm.ismovfile) CGboxm.showHide(CGvis);
		if (CGboxc.sou > 0) CGboxc.showHide(CGvis);
		CGboxs.showHide(CGvis);
		if (CGboxm.pro && (CGboxm.mar == 1 || CGboxm.mar == 5)) CGboxw.doOpacity(CGboxw.opa2);
		CGDoDropShadow();
		CGboxs.doOpacity(CGboxs.opa);
		CGboxs.showHide(CGvis);
		if (CGboxm.isswffile)CGboxm.swf();
		if (CGboxm.ismovfile) CGboxm.mov();
		CGboxm.swipeOver = true;
		CGboxm.style.clip = "rect(" + 0 + "px " + 2000 + "px "  + 2000 + "px " + 0 + "px)";
	}
	return;
}
function CGDoZipOpen() {
	clearInterval(CGboxw.transSwipe);
	if (!CGboxm.swipeOver) return;
	CGboxw.onmousemove = null;
	CGboxw.zip.style.width = parseInt(CGboxw.clientWidth) - (CGboxw.zip.pad*2) - (CGboxw.zip.mar*2) + "px";
	var t = CGboxw.offsetParent.offsetTop + CGboxw.offsetTop - (CGboxw.zip.mar*2);
	var l = CGboxw.offsetParent.offsetLeft + CGboxw.offsetLeft;
	CGboxw.zip.style.top = t + CGboxw.clientHeight - parseInt(CGboxw.zip.clientHeight) + "px";
	CGboxw.zip.style.left = l + "px";
	CGboxw.zip.targetWidth = parseInt(CGboxm.clientWidth);
	CGboxw.zip.targetHeight = parseInt(CGboxw.zip.clientHeight);
	CGboxw.zip.tracktop = CGboxw.zip.clientHeight;
	CGboxw.zip.trackright = parseInt(CGboxw.clientWidth);
	CGboxw.zip.trackbottom = CGboxw.zip.clientHeight;
	CGboxw.zip.trackleft = 0;
	CGboxw.zip.style.clip = "rect(" + CGboxw.zip.tracktop + "px " + CGboxw.zip.trackright + "px "  + CGboxw.zip.trackbottom + "px " + CGboxw.zip.trackleft + "px)";
	CGboxz.showHide(CGvis);
	CGboxw.transSwipe = setInterval("{ if (CGboxm.swipeOver) CGZStretchHeight() }", 20)
	return;
}
function CGZStretchHeight() {
	CGboxz.style.clip = "rect(" + CGboxz.tracktop + "px " + CGboxz.trackright + "px "  + CGboxz.trackbottom + "px " + CGboxz.trackleft + "px)";
	CGboxz.tracktop -= 6
	if (CGboxz.tracktop <= 0) { 
		CGboxz.tracktop = 0;
		CGboxz.style.clip = "rect(" + CGboxz.tracktop + "px " + CGboxz.trackright + "px "  + CGboxz.trackbottom + "px " + CGboxz.trackleft + "px)"
		clearInterval(CGboxw.transSwipe);
		CGboxz.style.clip = "rect(" + 0 + "px " + CGboxz.trackright + "px "  + parseInt(CGboxz.trackbottom)+1 + "px " + 0 + "px)";
	}
	return;
}
function CGDoZipClose() {
	clearInterval(CGboxw.transSwipe);
	if (CGboxz.tracktop != 0 || CGboxz.style.visibility == CGhid) return;
	CGboxw.zip.style.clip = "rect(" + CGboxw.zip.tracktop + "px " + CGboxw.zip.trackright + "px "  + CGboxw.zip.trackbottom + "px " + CGboxw.zip.trackleft + "px)";
	CGboxw.transSwipe = setInterval("CGZCloseHeight()", 20)
	return;
}
function CGZCloseHeight() {
	CGboxz.style.clip = "rect(" + CGboxz.tracktop + "px " + CGboxz.trackright + "px "  + CGboxz.trackbottom + "px " + CGboxz.trackleft + "px)";
	CGboxz.tracktop += 6
	if (CGboxz.tracktop >= CGboxz.targetHeight) {
		CGboxz.tracktop = CGboxz.targetHeight;
		CGboxz.style.clip = "rect(" + CGboxz.tracktop + "px " + CGboxz.trackright + "px "  + CGboxz.trackbottom + "px " + CGboxz.trackleft + "px)"
		clearInterval(CGboxw.transSwipe);
		CGShowHide(CGboxz, CGhid);
	}
	return;
}
function CGHideAll() {
	clearInterval(CGboxm.CGtransInt);
	clearInterval(CGboxc.CGtransInt);
	clearInterval(CGboxs.CGtransInt);
	clearInterval(CGboxl.CGtransInt);
	clearInterval(CGboxw.transSwipe);
	CGboxz.showHide(CGhid);
	if (CGboxm.isswffile || CGboxm.ismovfile) {
		CGimgm.hidden = true;
		CGimgm.src = "";
		CGboxm.innerHTML = CGboxm.originnerHTML;
		CGimgm = CGboxm.lastChild;
	}
	if (CGboxm.transMode == 1 || CGboxm.transMode == 3) {
		CGboxm.CGfadeIn = false;
		CGboxm.CGtransSta = 100;
		CGboxm.CGtransEnd = 0;
		CGboxm.CGtransVal = CGboxm.CGtransSta;
		CGboxm.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
		CGboxc.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
		CGboxs.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
	}
	else {
		CGFinishHide();
	}
	CGDONotCopyrightMark();
	return;
}
function CGHideAll2(e) {
	var st = document.body.scrollTop + document.documentElement.scrollTop;
	var b = document.body.clientHeight >= document.documentElement.clientHeight;
	var wb = !b ? document.documentElement.clientHeight : document.body.clientHeight;
	var sl = document.body.scrollLeft + document.documentElement.scrollLeft;
	var r = document.body.clientWidth >= document.documentElement.clientWidth;
	var wr = !r ? document.documentElement.clientWidth : document.body.clientWidth;
	var x = 0, y = 0;
	var e = (CGisIE) ? event : e;
	if (e.type == "mouseout") {
		x = e.pageX ? e.pageX : window.event.clientX;
		y = e.pageY ? e.pageY : window.event.clientY;
	}
	if (e.type == "keydown" || e.type == "keypress" || y+1 > wb || y-1 < st || x+1 > wr || x-1 < sl) {
		clearInterval(CGboxm.CGtransInt);
		clearInterval(CGboxc.CGtransInt);
		clearInterval(CGboxs.CGtransInt);
		clearInterval(CGboxl.CGtransInt);
		clearInterval(CGboxw.transSwipe);
		CGimgm.src = null;
		if (CGboxm.isswffile || CGboxm.ismovfile) {
			CGimgm.hidden = true;
			CGimgm.src = "";
			CGboxm.innerHTML = CGboxm.originnerHTML;
			CGimgm = CGboxm.lastChild;
		}
		CGboxm.style.visibility = CGhid;
		if (CGboxm.transMode == 1 || CGboxm.transMode == 3) {
			CGboxm.CGfadeIn = false;
			CGboxm.CGtransSta = 100;
			CGboxm.CGtransEnd = 0;
			CGboxm.CGtransVal = CGboxm.CGtransSta;
			CGboxm.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
			CGboxc.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
			CGboxs.CGtransInt = setInterval("CGTransition()", CGboxm.transSpeed);
		}
		else {
			CGFinishHide();
		}
	}
	return;
}
function CGGetImageObj(frameName, imgObjName) {
	var path = frameName.length > 0 ? frameName + "." : "";
	if (CGisW3C || CGisIE) {
		var baseImage = eval(path + "document.images." + imgObjName);
	}
	else {
		baseImage = parseInt(navigator.appVersion.charAt(0)) > 3 ? CGFindImgElement(imgObjName, 0, path) : eval(path + "document.images[imgObjName]");
	}
	return baseImage;
}
function CGFindImgElement(baseImage, thisLayer, path) {
	if (path.length != "") {
		var thisDocument = thisLayer ? thisLayer.document : eval(path + "document");
	}
	else {
		var thisDocument = thisLayer ? thisLayer.document : document;
	}
	var imageObj = thisDocument[baseImage];
	if (imageObj) {
		return imageObj;
	}
	else {
		for (var i = 0; i < thisDocument.layers.length; i++) {
			imageObj = CGFindImgElement(baseImage, thisDocument.layers[i], path);
			if (imageObj) {
				break;
			}
		}
	}
	return imageObj;
}
function CGTransition() {
	if (CGboxm.CGfadeIn) {
		CGboxm.CGtransVal += CGboxm.transTics;
	}
	else {
		CGboxm.CGtransVal -= CGboxm.transTics;
	}
	var doFade = CGboxm.CGfadeIn ? CGboxm.CGtransVal <= CGboxm.CGtransEnd : CGboxm.CGtransVal >= CGboxm.CGtransEnd;
	if (doFade) {
		CGDoOpacity(CGboxm.CGtransVal);
	}
	else {
		clearInterval(CGboxm.CGtransInt);
		clearInterval(CGboxc.CGtransInt);
		clearInterval(CGboxs.CGtransInt);
		clearInterval(CGboxl.CGtransInt);
		clearInterval(CGboxw.transSwipe);
		if (!CGboxm.CGfadeIn) {
			CGFinishHide();
		}
		else {
			if (CGboxm.isswffile) CGboxm.swf();
			if (CGboxm.ismovfile) CGboxm.mov();
		}
	}
	return;
}
function CGDoOpacity(transVal) {
	if (CGboxm.style.MozOpacity != null) {
		CGboxm.style.MozOpacity = transVal/100;
		CGboxc.style.MozOpacity = transVal/100;
		if (CGboxs.shadowOn) {
			CGboxs.style.MozOpacity = transVal <= CGboxs.opa ? transVal/100 : CGboxs.opa/100;
		}
	}
	else if (CGisIE && !CGisMacIE) {
		CGboxm.filters.item("DXImageTransform.Microsoft.Alpha").opacity = transVal;
		CGboxc.filters.item("DXImageTransform.Microsoft.Alpha").opacity = transVal;
		if (CGboxs.shadowOn) {
			CGboxs.filters.item("DXImageTransform.Microsoft.Alpha").opacity = transVal <= CGboxs.opa ? transVal : CGboxs.opa;
		}
	}
	else {
		CGboxm.style.opacity = transVal/100;
		CGboxc.style.opacity = transVal/100;
		if (CGboxs.shadowOn) {
			CGboxs.style.opacity = transVal <= CGboxs.opa ? transVal/100 : CGboxs.opa/100;
		}
	}
	return;
}
function CGDoPrep() {
	if (!CGisIE) {
		CGboxs.targetWidth = parseInt(CGboxm.style.width) + CGboxm.borderSize*2;
		CGboxl.targetWidth = CGboxs.targetWidth + CGboxl.windowBorder*2;
		CGboxs.targetHeight = parseInt(CGboxm.style.height) + CGboxm.borderSize*2;
		CGboxl.targetHeight = CGboxs.targetHeight + CGboxl.windowBorder*2;
		if ((CGboxc.pos == 1 || CGboxc.pos == 2) && CGboxc.sou != 0) {
			CGboxs.targetHeight += parseInt(CGboxcHeight) + CGboxc.off;
			CGboxl.targetHeight += parseInt(CGboxcHeight) + CGboxc.off;
		}
	}
	else {
		CGboxs.targetWidth = parseInt(CGboxm.style.width) + CGboxm.borderSize*2;
		CGboxl.targetWidth = CGboxs.targetWidth + CGboxl.windowBorder*2;
		CGboxs.targetHeight = parseInt(CGboxm.style.height) + CGboxm.borderSize*2
		CGboxl.targetHeight = parseInt(CGboxm.style.height) + CGboxm.borderSize*2 + CGboxl.windowBorder*2;
		if ((CGboxc.pos == 1 || CGboxc.pos == 2) && CGboxc.sou != 0) {
			CGboxs.targetHeight += parseInt(CGboxcHeight) + CGboxc.off;
			CGboxl.targetHeight += parseInt(CGboxcHeight) + CGboxc.off;
		}
	}
	var a = new Array();
	a[0] = CGboxl.targetWidth, a[1] = CGboxl.targetHeight;
	return a;
}
function CGDoDropShadow() {
	CGboxs.style.width = CGboxs.targetWidth + "px";
	CGboxs.style.height = CGboxs.targetHeight + "px";
	CGboxs.style.left = parseInt(CGboxm.style.left) + CGboxs.shadowHoffset + "px";
	CGboxs.style.top = parseInt(CGboxm.style.top) + CGboxs.shadowVoffset - CGboxm.adjust + "px";
	return;
}
function CGShowHide(object, state) {
	if (CGisW3C || CGisIE4) {
		object.style.visibility = state;
	}
	else if (CGisNav4) {
		object.visibility = state;
	}
	return;
}
function CGFinishHide() {
	CGDoOpacity(100);
	CGboxm.showHide(CGhid);
	CGboxl.showHide(CGhid);
	CGboxs.showHide(CGhid);
	CGboxs.doOpacity(null);
	CGboxw.showHide(CGhid);
	CGboxw.doOpacity(null);
	CGboxc.showHide(CGhid);
	CGboxz.showHide(CGhid);
	if (CGboxb) {
		CGboxb.showHide(CGhid);
		CGboxb.doOpacity(null);
		CGboxb.style.width = "auto";
		CGboxb.style.height = "auto";
	}
	return;
}
function CGQuickReturn() {
	clearInterval(CGboxm.CGtransInt);
	clearInterval(CGboxc.CGtransInt);
	clearInterval(CGboxl.CGtransInt);
	clearTimeout(CGslideTimer);
	clearInterval(CGsetLoadDelay);
	clearTimeout(CGsetShowDelay);
	clearInterval(CGboxs.CGtransInt);
	CGboxm.showHide(CGhid);
	CGboxw.showHide(CGhid);
	CGboxw.doOpacity(null);
	CGboxc.showHide(CGhid);
	if (CGboxb) {
		CGboxb.showHide(CGhid);
		CGboxb.doOpacity(null);
	}
	CGboxl.showHide(CGhid);
	CGboxs.showHide(CGhid);
	CGboxs.doOpacity(null);
	return;
}
function CGDoCopyrightMark() {
	var p = eval(CGboxm.path + "document");
	if (CGisW3C) {
		if (CGboxm.autoClose) {
			if (CGboxm.path != "") {
				p.oncontextmenu = CGShowWaterMark;
				p.onkeyup = CGHideWaterMark;
				if (CGboxm.path2.addEventListener) {
					CGboxm.path2.addEventListener("mouseout", CGShowWaterMark, false);
					CGboxm.path2.addEventListener("mouseover", CGHideWaterMark, false);
				}
				else if (CGboxm.path2.attachEvent) {
					CGboxm.path2.attachEvent("onmouseout", CGShowWaterMark);
					CGboxm.path2.attachEvent("onmouseover", CGHideWaterMark);
				}
				else {
					CGboxm.path2.onmouseout = CGShowWaterMark;
					CGboxm.path2.onmouseover = CGHideWaterMark;
				}
			}
			else {
				document.oncontextmenu = CGShowWaterMark;
				document.onkeyup = CGHideWaterMark;
				if (document.addEventListener) {
					document.addEventListener("mouseout", CGShowWaterMark, false);
					document.addEventListener("mouseover", CGHideWaterMark, false);
				}
				else if (CGboxm.path2.attachEvent) {
					document.attachEvent("onmouseout", CGShowWaterMark);
					document.attachEvent("onmouseover", CGHideWaterMark);
				}
				else {
					document.onmouseout = CGShowWaterMark;
					document.onmouseover = CGHideWaterMark;
				}
			}
		}
		else {
			if (CGboxw.addEventListener) {
				CGboxw.addEventListener("mouseout", CGHideWaterMark, false);
				CGboxw.addEventListener("mouseover", CGShowWaterMark2, false);
			}
			else if (CGboxm.path2.attachEvent) {
				CGboxw.attachEvent("onmouseout", CGHideWaterMark);
				CGboxw.attachEvent("onmouseover", CGShowWaterMark2);
			}
		}
	}
	return;
}
function CGDONotCopyrightMark() {
	var p = eval(CGboxm.path + "document");
	if (CGisW3C) {
		if (CGboxm.autoClose) { 
			if (CGboxm.path != "") {
				p.oncontextmenu = null;
				p.onkeyup = null;
				if (CGboxm.path2.removeEventListener) {
					CGboxm.path2.removeEventListener("mouseout", CGShowWaterMark, false);
					CGboxm.path2.removeEventListener("mouseover", CGHideWaterMark, false);
				}
				else if (CGboxm.path2.detachEvent) {
					CGboxm.path2.detachEvent("onmouseout", CGShowWaterMark);
					CGboxm.path2.detachEvent("onmouseover", CGHideWaterMark);
				}
				else {
					CGboxm.path2.onmouseout = null;
					CGboxm.path2.onmouseover = null;
				}
			}
			else {
				document.oncontextmenu = null;
				document.onkeyup = null;
				if (document.removeEventListener) {
					document.removeEventListener("mouseout", CGShowWaterMark, false);
					document.removeEventListener("mouseover", CGHideWaterMark, false);
				}
				else if (CGboxm.path2.detachEvent) {
					document.detachEvent("onmouseout", CGShowWaterMark);
					document.detachEvent("onmouseover", CGHideWaterMark);
				}
				else {
					document.onmouseout = null;
					document.onmouseover = null;
				}
			}
		}
		else {
			if (CGboxw.removeEventListener) {
				CGboxw.removeEventListener("mouseout", CGHideWaterMark, false);
				CGboxw.removeEventListener("mouseover", CGShowWaterMark2, false);
			}
			else if (CGboxm.path2.detachEvent) {
				CGboxw.detachEvent("onmouseout", CGHideWaterMark);
				CGboxw.detachEvent("onmouseover", CGShowWaterMark2);
			}
		}
	}
	return;
}
function CGShowWaterMark(e) {
	clearTimeout(CGboxw.CGsetHideDelay);
	if (CGisIE) {
		if (event && (event.srcElement.id == "CGbackgroundLayer" || event.type == "keydown" || event.type == "keypress" || event.type == "mousedown")) CGboxw.doOpacity(CGboxw.opa2);
	}
	else {
		if (e && (e.target.id == "CGbackgroundLayer" || e.type == "keydown" || e.type == "keypress" || e.type == "mousedown")) CGboxw.doOpacity(CGboxw.opa2);			
	}
	return true;
}
function CGShowWaterMark2() {
	clearTimeout(CGboxw.CGsetHideDelay);
	CGboxw.doOpacity(CGboxw.opa2);
	return;
}
function CGHideWaterMark(e) {
	clearTimeout(CGboxw.CGsetHideDelay);
	CGboxw.CGsetHideDelay = setTimeout('CGHideWaterMark2()', 1500);
	return;
}
function CGHideWaterMark2() {
	CGboxw.doOpacity(0);
	return true;
}
function CGZipNotice(mcode) {
	this.innerHTML = "";
	this.innerHTML = eval("CGzip" + (mcode) + "()");
	return;
}
function CGZipOn() {
	if (CGisW3C) {
		if (CGboxw.addEventListener) {
			CGboxw.addEventListener("mouseout", CGDoZipClose, false);
			CGboxw.addEventListener("mouseover", CGDoZipOpen, false);
		}
		else if (CGboxw.attachEvent) {
			CGboxw.attachEvent("onmouseout", CGDoZipClose);
			CGboxw.attachEvent("onmouseover", CGDoZipOpen);
		}
		else {
			CGboxw.onmouseout = CGDoZipClose;
			CGboxw.onmouseover = CGDoZipOpen;
		}
	}
	return;
}
function CGZipOff() {
	if (CGisW3C) {
		if (CGboxw.removeEventListener) {
			CGboxw.removeEventListener("mouseout", CGDoZipClose, false);
			CGboxw.removeEventListener("mouseover", CGDoZipOpen, false);
		}
		else if (CGboxw.detachEvent) {
			CGboxw.detachEvent("onmouseout", CGDoZipClose);
			CGboxw.detachEvent("onmouseover", CGDoZipOpen);
		}
		else {
			CGboxw.onmouseout = null;
			CGboxw.onmouseover = null;
		}
	}
	return;
}
function CGDoAutoClose() {
	var p = eval(CGboxm.path + "document.body");
	if (CGboxm.path != "") {
		p.onkeypress = CGboxm.pro ? CGHideAll2 : null;
		p.onkeydown = CGboxm.pro ? CGHideAll2 : null;
		if (p.addEventListener) {
			p.addEventListener("mouseup", CGHideAll, false);
			if (CGboxm.pro) {
				p.addEventListener("mouseout", CGHideAll2, false); 
			}
			else {
				p.removeEventListener("mouseout", CGHideAll2, false);
			}
		}
		else if (p.attachEvent) {
			p.attachEvent("onmouseup", CGHideAll);
			if (CGboxm.pro) {
				p.attachEvent("onmouseout", CGHideAll2);
			}
			else {
				p.detachEvent("onmouseout", CGHideAll2);
			}
		}
		else {
			p.onmouseup = CGHideAll;
			p.onmouseout = CGboxm.pro ? CGHideAll2 : null;
		}
	}
	document.onkeypress = CGboxm.pro ? CGHideAll2 : null;
	document.onkeydown = CGboxm.pro ? CGHideAll2 : null;
	if (document.body.addEventListener) {
		document.body.addEventListener("mouseup", CGHideAll, false);
		if (CGboxm.pro) {
			document.body.addEventListener("mouseout", CGHideAll2, false);
		}
		else {
			document.body.removeEventListener("mouseout", CGHideAll2, false);
		}
	}
	else if (document.body.attachEvent) {
		document.body.attachEvent("onmouseup", CGHideAll);
		if (CGboxm.pro) {
			document.body.attachEvent("onmouseout", CGHideAll2);
		}
		else {
			document.body.detachEvent("onmouseout", CGHideAll2);
		}
	}
	else {
		document.body.onmouseup = CGHideAll;
		document.body.onmouseout = CGboxm.pro ? CGHideAll2 : null;
	}
	return;
}
function CGDoAutoCloseImg() {
	if (CGboxm.addEventListener) {
		CGboxm.addEventListener("mouseup", CGHideAll, false);
		CGboxw.addEventListener("mouseup", CGHideAll, false);
	}
	else if (CGboxm.attachEvent) {
		CGboxm.attachEvent("onmouseup", CGHideAll);
		CGboxw.attachEvent("onmouseup", CGHideAll);
	}
	else {
		CGboxm.onmouseup = CGHideAll;
		CGboxw.onmouseup = CGHideAll;
	}
	return;
}
function CGReleaseAutoClose() {
	var p = eval(CGboxm.path + "document.body");
	if (CGboxm.path != "") {
		p.onkeypress =  null;
		p.onkeydown = null;
		if (p.addEventListener) {
			p.removeEventListener("mouseup", CGHideAll, false);
			p.removeEventListener("mouseout", CGHideAll2, false);
		}
		else if (p.attachEvent) {
			p.detachEvent("onmouseup", CGHideAll);
			p.detachEvent("onmouseout", CGHideAll2);
		}
		else {
			p.onmouseup = null;
			p.onmouseout = null;
		}
	}
	document.onkeypress =  null;
	document.onkeydown = null;
	if (document.body.addEventListener) {
		document.body.removeEventListener("mouseup", CGHideAll, false);
			document.body.removeEventListener("mouseout", CGHideAll2, false);
	}
	else if (document.body.attachEvent) {
		document.body.detachEvent("onmouseup", CGHideAll);
			document.body.detachEvent("onmouseout", CGHideAll2);
	}
	else {
		document.body.onmouseup = null;
		document.body.onmouseout = null;
	}
	return;
}
function CGDoMOV() {
	var html = '<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="' + CGimgm.height + '" width="' + CGimgm.width + '">';
	html +=	'<param name="loop" value="' + CGboxm.loop + '" />';
	html +=	'<param name="autoplay" value="' + CGboxm.autoplay + '" />';
	html +=	'<param name="controller" value="' + CGboxm.controller + '" />';
	html += '<param name="cache" value="true">';
	html +=	'<param name="hidden" value="false" />';
	html +=	'<param name="src" value="' + CGimgm.src + '" />';
	html +=	'<embed name="' + CGaction[8] + '" height="' + CGimgm.height + '" width="' + CGimgm.width + '" ' + 'pluginspage="http://www.apple.com/quicktime/download/" src="' + CGimgm.src + '" type="video/quicktime"  controller="' + CGboxm.controller + '" autoplay="' + CGboxm.autoplay + '" loop="' + CGboxm.loop + '" cache="true"';
	html +=	'></embed></object>';
	if (document.getElementById) {
		this.innerHTML = html;
	}
	else if (document.all) {
		if (CGimgm.src) {
			this.sexposure = 0;
		}
		else {
			this.innerHTML = "";
			this.innerHTML = html;
		}
	}
	else if (document.layers) {
		if (CGimgm.src) {
			this.sexposure = 0;
		}
		else {
			this.clip.width = this.width;
			this.clip.height = this.height;				
			this.background.src = this.sad;
		}
	}
	var t = setTimeout("CGDoMediaFinish()", 500);
	return;
}
function CGDoSWF() {
	var html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="' + CGimgm.height + '" width="' + CGimgm.width + '"> ';
	html +=	'<param name="loop" value="' + CGboxm.loop + '" />';
	html +=	'<param name="play" value="' + CGboxm.autoplay + '" />';
	html +=	'<param name="controller" value="' + CGboxm.controller + '" />';
	html += '<param name="cache" value="true">';
	html +=	'<param name="movie" value="' + CGimgm.src + '"> ';
	html +=	'<param name="quality" value="best"> ';
	html +=	'<embed name="' + CGaction[8] + '" height="' + CGimgm.height + '" width="' + CGimgm.width + '" pluginspage="http://www.macromedia.com/go/getflashplayer" src="' + CGimgm.src + '" type="application/x-shockwave-flash" quality="best" play="' + CGboxm.autoplay + '" loop="' + CGboxm.loop + '" controller="' + CGboxm.controller + ' cache="true"';
	html +=	'></embed></object>';
	if (document.getElementById) {
		this.innerHTML = html;
	}
	else if (document.all) {
		if (CGimgm.src) {
			this.sexposure = 0;
		}
		else {
			this.innerHTML = "";
			this.innerHTML = html;
		}
	}
	else if (document.layers) {
		if (CGimgm.src) {
			this.sexposure = 0;
		}
		else {
			this.clip.width = this.width;
			this.clip.height = this.height;				
			this.background.src = this.sad;
		}
	}
	var t = setTimeout("CGDoMediaFinish()", 500);
	return;
}
function CGDoMediaFinish() {
	CGboxm.style.visibility = CGvis;
	return;
}
function CGVersion() {
	return true;
}
//

