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/cards.gif"><tr><td id="cmenu" class="cards1">');
document.write('<table width="500" border="0" align="center" cellpadding="1" cellspacing="0" height="22"><tr>');
document.write('<td width="2"><img src="../images/space.gif" width="1" height="8"></td>');
document.write('<td width="37" onMousedown="cmenu.className=\'cards1\';display(0)" style="cursor:hand">&nbsp;</td>');
document.write('<td width="49" onMousedown="cmenu.className=\'cards2\';display(1)" style="cursor:hand">&nbsp;</td>');
document.write('<td width="50" onClick="cmenu.className=\'cards3\';display(2)" style="cursor:hand">&nbsp;</td>');
document.write('<td width="57" onClick="cmenu.className=\'cards4\';display(3)" style="cursor:hand">&nbsp;</td>');
document.write('<td width="62" onClick="cmenu.className=\'cards5\';display(4)" style="cursor:hand">&nbsp;</td>');
document.write('<td width="101" onClick="cmenu.className=\'cards6\';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=250;
}
document.getElementById("cellBack").className='courseCellBack';
document.getElementById("mainTable").className='cmainTable';
document.all['row'+0].style.display ='inline'	
}

}


var pre2=new Image();
pre2.src= "../images/cards2.gif";

var pre3=new Image();
pre3.src= "../images/cards3.gif";

var pre4=new Image();
pre4.src= "../images/cards4.gif";

var pre5=new Image();
pre5.src= "../images/cards5.gif";

var pre6=new Image();
pre6.src= "../images/cards6.gif";


