﻿// JavaScript Document
collection = '';
function writeImagesLayer(col) {collection = col;document.write('<div id="imgdiv"><img src="'+col+'/0.jpg" width="492" height="213" alt="" border="0"></div>');}
function writeFlash(col){out = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width=520 height=107><param name=movie value="scroller.swf?col='+col+'"><param name=menu value=false><param name=quality value=high><param name=bgcolor value=#ffffff><embed src="scroller.swf?col='+col+'" menu=false quality=high bgcolor=#ffffff width=520 height=107 type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>';document.write(out);}
function changeImage(c,n){setDivText('imgdiv','<img src="'+c+'/'+n+'.jpg" width="492" height="213" alt="" border="0">');}
function checkBrowser(){this.ver=navigator.appVersion;this.agent = navigator.userAgent;this.ie = this.ver.indexOf("MSIE")>-1;this.ns = this.ver.indexOf("Netscape")>-1;	this.op = this.ver.indexOf("Opera")>-1;	this.ns4 = (document.layers) ? true : false;	this.ie4 = (document.all && !document.getElementById) ? true : false; this.ie5 = (document.all && document.getElementById) ? true : false;this.ns6 = (!document.all && document.getElementById) ? true : false;this.bw5=(this.ie5||this.ns6);}
function setDivText(div,text){bw=new checkBrowser();thisDivElem=(bw.bw5)?document.getElementById(div):(bw.ie4)?document.all[div]:(bw.ns4)?document.layers[div]:0;if(bw.ie){thisDivElem.innerHTML=text;}	if(bw.ns4){thisDivElem.document.write(text);thisDivElem.document.close();}	if(bw.ns6){thisDivElem.innerHTML=text;}}