var message="Copyright of Motoprint."; 
document.onmousedown=explorer;
document.onmouseup=moz;
document.oncontextmenu=new Function("return false");

function goto_URL(object) {
window.location.href = ("transact.php?type="+object+"&type2=1");
}

function goto_URL_a(object) {
window.location.href = ("transact.php?type="+object+"&type2=2");
}

function goto_URL_b(object) {
window.location.href = ("transact.php?type="+object+"&type2=3");
}

function goto_URL_c(object) {
window.location.href = ("transact.php?type="+object+"&type2=4");
}

function goto_URL2(object) {
window.location.href = ("transact.php?setd="+object+"");
}

function goto_URL3(object) {
window.location.href = ("transact.php?setd="+object+"&full=1");
}

function goto_URL4(object) {
window.location.href = ("transact.php?sety="+object+"&full=1");
}

function goto_URL5(object) {
window.location.href = ("transact.php?seta="+object+"&full=1");
}

function msg() {
	 alert(message); 
	 return false;
}

function explorer() {
	 if (event.button == "2" || event.button == "3") {
		 msg();
	}
}

function moz(e) {
	 if (document.layers || (document.getElementById && !document.all)) {
		 if (e.which == "2" || e.which == "3") {
			 msg();
		}
	}
}

function openNewWindow() {
  popupWin = window.open('terms.html',
  'open_window',
  'menubar=0, toolbar=0, location=0, directories=0, status=0, scrollbars, resizable=0, dependent=0, width=540, height=530, left=10, top=10')
}

function RunSWF()
{
   document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="804" height="195">\n');
   document.write('<param name="movie" value="images/motoprint.swf" />\n');
   document.write('<param name="quality" value="high" />\n');
   document.write('<embed src="images/motoprint.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="804" height="195"></embed>\n');
   document.write('</object>\n');
}