function show_Home() {
 if (navigator.userAgent.indexOf('Opera') == -1) { 
  document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="462" height="298">');
  document.write ('<param name="movie" value="images/3DSpacer.swf">');
  document.write ('<param name="quality" value="high">');
  document.write ('<param name="wmode" value="transparent">');
  document.write ('<param name="menu" value="false">');
  document.write ('<embed src="images/3DSpacer.swf" width="462" height="298" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" menu="false"></embed>');
  document.write ('</object>');
 } 
 else {
   document.write ('<img src="images/PC.jpg" alt="Antipodes 3D Spacer">');
 }
}

function open_image (what, id) {
	var opage = window.open ( '/image_view.php?what='+what+'&id='+id, 'img', 'resizable=yes, scrollbars=auto, left=0, top=0, width==500, height=450, location=no, status=no, menubar=no');
	if (!opage) alert('Plaese, allow oppening pop-ups for this site and then try again to open larger image');
}

function show_order (id) {
	if (id==1) {
		document.getElementById('order1').style.display = '';
		document.getElementById('order2').style.display = 'none';
		document.getElementById('order3').style.display = 'none';
	}
	else if (id==2) {
		document.getElementById('order1').style.display = 'none';
		document.getElementById('order2').style.display = '';
		document.getElementById('order3').style.display = 'none';
	}
	else if (id==3) {
		document.getElementById('order1').style.display = 'none';
		document.getElementById('order2').style.display = 'none';
		document.getElementById('order3').style.display = '';
	}
}

if (top.frames.length>0) {
	top.location.href='http://www.3dspacer.com/';
}