var message="Alert! All images on this web site are protected by International Copyright Laws. Unauthorized use is MOST STRICTLY FORBIDDEN! For more info about this read the Terms and Conditions.";
function copyR(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}

function popUp(){
window.open("image.php?pic="+pic,"pop","resizable=no,toolbar=no,scrollbars=no,menubar=no,status=no,directories=no,width=780,height=340,left=0,top=0");
}

function format(text){
str = text.toString().replace(/\$|\,/g,'');
if (isNaN(str)) str = "0";   
cents = Math.floor((str*100+0.5)%100);
str = Math.floor((str*100+0.5)/100).toString();
   if (cents < 10) cents = "0" + cents;
   for (var j = 0; j < Math.floor((str.length-(1+j))/3); j++) {
      str = str.substring(0,str.length-(4*j+3))+'.'+str.substring(str.length-(4*j+3));
	}
str += "." + cents
return str;
}


function display(x){
//alert(x);
for(i=0;i<=5;i++){
	document.all['row'+i].style.display ='none'
}
document.all['row'+x].style.display ='inline'
}

function builtMenu(){
if(document.all){
document.write('<table width="500" border="0" cellpadding="0" cellspacing="0"  background="../images/hotelmenu.gif">');
document.write('<tr><td id="cmenu" class="hotel1">');
document.write('<table width="500" border="0" align="center" cellpadding="1" cellspacing="0" height="22">');
document.write('<tr><td width="2"><img src="../images/space.gif" width="1" height="8"></td>');
document.write('<td width="48" onMousedown="cmenu.className=\'hotel1\';display(0)" style="cursor:hand">&nbsp;</td>');
document.write('<td width="67" onMousedown="cmenu.className=\'hotel2\';display(1)" style="cursor:hand">&nbsp;</td>');
document.write('<td width="67" onClick="cmenu.className=\'hotel3\';display(2)" style="cursor:hand">&nbsp;</td>');
document.write('<td width="91" onClick="cmenu.className=\'hotel4\';display(3)" style="cursor:hand">&nbsp;</td>');
document.write('<td width="52" onClick="cmenu.className=\'hotel5\';display(4)" style="cursor:hand">&nbsp;</td>');
document.write('<td width="90" onClick="cmenu.className=\'hotel6\';display(5)" style="cursor:hand">&nbsp;</td>');
document.write('<td>&nbsp;</td></tr></table></td></tr></table>');
}
}


function adjustIE(){
if(document.all){
for(i=0;i<=5;i++){
	document.all['row'+i].style.display ='none'	
	document.getElementById("item"+i).className='courseDetailsTableIE';
	document.getElementById("itemHeader"+i).className='courseDetailsHeaderIE';
	document.getElementById("itemHeader"+i).style.display ='none';
//	document.getElementById("cheight"+i).height = 0;
	document.getElementById("item"+i).height=200;
}
document.getElementById("cellBack").className='courseCellBack';
document.getElementById("mainTable").className='cmainTable';
document.all['row'+0].style.display ='inline'	
}

}


var pre2=new Image();
pre2.src= "../images/map2.gif";

var pre3=new Image();
pre3.src= "../images/map3.gif";

var pre4=new Image();
pre4.src= "../images/map4.gif";

var pre5=new Image();
pre5.src= "../images/map5.gif";

var pre6=new Image();
pre6.src= "../images/map6.gif";

var pre7=new Image();
pre7.src= "../images/map7.gif";

var pre8=new Image();
pre8.src= "../images/map8.gif";

var pre9=new Image();
pre9.src= "../images/map9.gif";

