function preLoadImages(){
var t='<layer top="-100" left="0" visibility="hide"><div style="position:absolute; top:-100px; left:0px; visibility:hidden">';
for(i=0;i<arguments.length;i++) t+='<img src="'+arguments[i]+'" height="10" width="10">'; t+='</div></layer>'; document.write(t);
}
function swapImage(imgN,imgU){ if(document.images)document.images[imgN].src=imgU; }



/***********************************************
* Image Thumbnail viewer- © Dynamic Drive (www.dynamicdrive.com)
* Last updated Sept 26th, 03'. This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var ie=document.all;
var ns6=document.getElementById&&!document.all;

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat" && !window.opera)? document.documentElement : document.body;
}

function closepreview(){
crossobj.style.visibility="hidden"
}

function drag_drop(e){
if (ie&&dragapproved){
crossobj.style.left=tempx+event.clientX-offsetx+"px"
crossobj.style.top=tempy+event.clientY-offsety+"px"
}
else if (ns6&&dragapproved){
crossobj.style.left=tempx+e.clientX-offsetx+"px"
crossobj.style.top=tempy+e.clientY-offsety+"px"
}
return false
}

function initializedrag(e){
if (ie&&event.srcElement.id=="dragbar"||ns6&&e.target.id=="dragbar"){
offsetx=ie? event.clientX : e.clientX
offsety=ie? event.clientY : e.clientY

tempx=parseInt(crossobj.style.left)
tempy=parseInt(crossobj.style.top)

dragapproved=true
document.onmousemove=drag_drop
}
}

document.onmousedown=initializedrag
document.onmouseup=new Function("dragapproved=false")


preLoadImages('/img/page/2/home_on.jpg','/img/page/2/gallery_on.jpg','/img/page/2/video_on.jpg','/img/page/2/tourdates_on.jpg','/img/page/2/news_on.jpg','/img/page/2/merchandise_on.jpg','/img/page/2/contacts_on.jpg','/img/page/2/forum_on.jpg','/img/page/2/audio_on.jpg','/img/page/2/mailinglist_on.jpg','/img/page/2/bio_on.jpg','/img/page/2/press_on.jpg','/img/page/2/fanupload_on.jpg','/img/page/2/digitalbooklet_on.jpg');

CSAg = window.navigator.userAgent;
function newpopup(box,pUrl,theW,theH){
	scrolls=0; if(arguments[4]!=null) scrolls=1;
	cLow=CSAg.toLowerCase(); cMac=cLow.indexOf("mac");
	theW=theW+10; theH=theH+10;
	lPos=(screen.availWidth/2)-(theW/2); tPos=(screen.availHeight/2)-(theH/2);
	var bob=window.open(pUrl,box,"toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0,scrollbars="+scrolls+",width="+theW+",height="+theH+",top="+tPos+",left="+lPos);
    if( navigator.appName.substring(0,8)=="Netscape") bob.location=pUrl;
}
var bver=parseInt(navigator.appVersion);
var IsIe=navigator.appVersion.indexOf('MSIE');
var IsWin=navigator.appVersion.indexOf('Win');
