<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>

var LANDSCAPE_FOLDER = '<?php echo PREZOOM_FOLDER.$DS.$DS.PREZOOM_L.$DS.$DS ?>';
var PORTRAIT_FOLDER = '<?php echo PREZOOM_FOLDER.$DS.$DS.PREZOOM_P.$DS.$DS ?>';
var _3DGENERATORVERSION = '<?php echo _3DGENERATORVERSION ?>';
 
	window.onorientationchange = function(){
		var orientation = window.orientation;
		if (orientation === 0){
			window.location = "index.php?pos=1";
		}
		else if (orientation === 90){
			window.location = "index.php?pos=0";
		}
		else if (orientation === -90){
			window.location = "index.php?pos=0";
		}
		else{
			window.location = "index.php?pos=1";
		}
	}		
</SCRIPT>

<meta http-equiv="Content-Type" id="viewport" content="text/html; charset=utf-8" />
<meta name="viewport" content="initial-scale=1.0">
<meta name="viewport" content="maximum-scale=1.0"> 
<meta name="viewport" content="user-scalable=no">
<meta name="viewport" content="width=device-width">


<title>3DIssue</title>
<!--  JS --> 
<script type="text/javascript"	src="js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="js/jquery.imgpreload.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/cp.js"></script>
<script type="text/javascript" src="js/cc_functions_p.js"></script>
<script type="text/javascript" src="js/jquery.touchwipe.min.js"></script>
<script type="text/javascript" src="js/jquery.doubletap.js"></script>
<script type="text/javascript" src="js/jquery.jcarousel.modded.js"></script>
<script type="text/javascript" src="js/shadowbox.js"></script>
<?php include("js/constants.js.php"); ?>

<SCRIPT>
if(IS_LANDSCAPE_PUB==true){ //redirect user back to correct view
		
		if(window.orientation!==undefined && (window.orientation==0 || window.orientation==180)) { 
			alert("This publication must be viewed in Landscape Mode. Please rotate your iPad and click OK");
			window.location = "index.php?pos=1";
		}
}
</SCRIPT>

<!--  CSS  --> 
<link rel="stylesheet" type="text/css" href="css/shadowbox.css" /> 
<link rel="stylesheet" href="css/demo.css"/>
<link rel="stylesheet" href="css/cc.css"/>
<link rel="stylesheet" href="css/tango/skin.css"/>
<?php include("css/constants.css.php"); ?>
</head>
<body style="background-color:<?php echo $bgColour;?>;">
<?php  include ("templates/hotspot_l.php") ?>

<div class="center hidden"  id="cparea"><div id="cpTitleBar"><span class="title"></span><span class="close" style="margin-right:5px;margin-top:2px;"><img src="images/uiII/exit.png"></span></div></div>
<?php include "templates" . DIRECTORY_SEPARATOR . "splash.php"; ?>
<div style="height:<?php echo $available_height; ?>;"> 
<?php
	$arrValue001=$parser->document->value001[0]->tagChildren;
	include('portraitMiddle.php');
?>
<div style="position:absolute;width:100%;top:<?php echo $IS_LANDSCAPE_PUB ? "645px;" : "901px;"?>">
<table border="0" cellspacing="0" cellpadding="0" height="45px" width="<?php echo "100%";?>">
  <tr>
    <td align="center" valign="bottom" bgcolor="<?php echo $bgColour; ?>">    
       <?php include "templates" . DIRECTORY_SEPARATOR . "nav_top.php"; ?>	
	</td>
  </tr>
</table>
<div>	
</div>
</body>
</html>