/* Video on Services Landing page */
function change_video_s(){
document.getElementById('video_s').innerHTML = '<embed src="/video/service2.swf" width="257" height="205" wmode="transparent" ></embed>';
}

/* End Video on Services Landing page */

/* Print Function */
function print_go()
    {
        var a = window.open('','','width=720,height=820,scrollbars=yes');
        a.document.open("text/html");	
		
        a.document.write('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">');
        a.document.write('<head>');
        a.document.write('<title>Pragma - Improving the performance of physical assets</title>');
        a.document.write('<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">');
        a.document.write('<meta http-equiv="X-UA-Compatible" content="IE=7">');		
		
        a.document.write('<link href="/css/default.css" rel="stylesheet" type="text/css" /> ');
		a.document.write('<link href="/css/pages.css" rel="stylesheet" type="text/css" /> ');
        a.document.write('<script type="text/javascript" src="/js/js.showHideDiv.20090326.js"></script> ');
        a.document.write('<script type="text/javascript" src="/js/script.js"></script>');	
        a.document.write('</head>');
        a.document.write('<body>');		
		
        a.document.write('<div id="middel_column"  style="width:700px; margin:10px 5px;">');
        a.document.write('<img src="/images/pragma_logo.jpg" width="546px" height="64px" title="Pragma logo" alt="Pragma logo"  border="0" />');
		a.document.write('<br /><br />');
		a.document.write('<div style="clear:both"></div>');
        a.document.write(document.getElementById('middel_column').innerHTML);
		
        a.document.write('</div>');	
		
		a.document.write('</body></html>');	
		
		
        a.document.close();
		

        a.setTimeout("print()",2000);
    }

/* Print Function */




<!-- Paste this code into an external JavaScript file named: banner.js.js  -->

/* This script and many more are available free online at
The JavaScript Source :: http://javascript.internet.com
Created by: Lee Underwood :: http://javascript.internet.com/ */

var bannerImg = new Array();
  // Enter the names of the images below
  bannerImg[0]="/images/corner_ratate/1.gif";
 // bannerImg[1]="/images/globe.jpg";
 // bannerImg[2]="/images/video_img.jpg";

var newBanner = 0;
var totalBan = bannerImg.length;

function cycleBan() {
  newBanner++;
  if (newBanner == totalBan) {
    newBanner = 0;
  }
  document.getElementById("corner_rotate").style.backgroundImage="url(" + bannerImg[newBanner] + ")"; 
  //document.banner.backgroundImage.src=bannerImg[newBanner];
  // set the time below for length of image display
  // i.e., "4*1000" is 4 seconds
  setTimeout("cycleBan()", 4*1000);
}
window.onload=cycleBan;



    
    


function move(l)
{
	var Obj = document.getElementById("red_arrow");
	Obj.style.marginLeft = l+"px";
}

function nav(page,e,state) {
	//alert(e);
	if(e != 'models') {
		if(state == 'hover') {
			document.getElementById(e).src = '/images/' + page + '/top_images/' + e + '_colour.jpg';
		}else {
			document.getElementById(e).src = '/images/' + page + '/top_images/' + e + '_bw.jpg';
		}
	}
}