/***************************************************/
	OffsetX = 410;    // MODIFY THESE VALUES TO 
	OffsetY = -250;     // CHANGE THE POSITION.
	var old,skn,iex = (document.all),yyy = -1000;
	var ns4 = document.layers
	var ns6 = document.getElementById&&!document.all
	var ie4 = document.all
	var buffer;							
		if (ns4) skn = document.pdq
		else if (ns6) skn = document.getElementById("pdq").style
		else if (ie4) skn = document.all.pdq.style
		else skn = document.getElementById("pdq").style
		if (ns4) document.captureEvents(Event.MOUSEMOVE);
		else {
			skn.visibility = "visible"
			skn.display = "none"
			}
		document.onmousemove = get_mouse;
		var msg = "";		
		function popup(i){
			cls();
			if(buffer != i){
			buffer = i;
			
			var msg1 = '<p>Two years at ALLIANCE have been an enriching experience. It gave me the platform for an all round development and made me realize my potential.<br /><br /><b>Raginee Mamgain<br /><span>National Instruments</span></b><\/p><p class=\'more\'><a href=\'html/testimonials.html\'>More Profiles...<\/a><\/p><p><a href=\'javascript:cls();\'><img src=\'images/Testimonials/icon-close.gif\'  width=\'11\' height=\'9\' \/> Close<\/a></p>';
			var msg2 = '<p>Studying at ALLIANCE brought me several skills that I now efficiently use in my professional as well as personal life.<br /><br /><b>Kreena Madaiyar<br /> <span>BNP Paribas Real Estate & Infrastructure Advisory Services Pvt. Ltd</span></b><\/p><p class=\'more\'><a href=\'html/testimonials.html\'>More Profiles...<\/a><\/p><p><a href=\'javascript:cls();\'><img src=\'images/Testimonials/icon-close.gif\'  width=\'11\' height=\'9\' \/> Close<\/a></p>';
			var msg3 = '<p>Two years at ALLIANCE helped me not only to pursue my career goal successfully, but also enhance my personality and interpersonal skills effectively.<br /><br /> <b>Anshul Arora<br /> <span>STCI-Securities Trading Corporation of India</span></b><\/p><p class=\'more\'><a href=\'html/testimonials.html\'>More Profiles...<\/a><\/p><p><a href=\'javascript:cls();\'><img src=\'images/Testimonials/icon-close.gif\'  width=\'11\' height=\'9\' \/> Close<\/a></p>';						
			
/*	     	if (i == 1){ var content = "<img src=\'images/dropmenu_top.png\' /><div class='boxx'>"+msg1+"</div>"; } 	
	  	  	if (i == 2){ var content = "<img src=\'images/dropmenu_top.png\' /><div class='boxx'>"+msg2+"</div>"; } 	
	  	  	if (i == 3){ var content = "<img src=\'images/dropmenu_top.png\' /><div class='boxx'>"+msg3+"</div>"; } 	
*/
	     	if (i == 1){ var content = "<div class='boxx'>"+msg1+"</div>"; } 	
	  	  	if (i == 2){ var content = "<div class='boxx'>"+msg2+"</div>"; } 	
	  	  	if (i == 3){ var content = "<div class='boxx'>"+msg3+"</div>"; } 	

				yyy = OffsetY; 
				if(ns4){skn.document.write(content);skn.document.close();skn.visibility="visible"}
				if(ns6){document.getElementById("pdq").innerHTML=content;skn.display=''}
				if(ie4){document.all("pdq").innerHTML=content;skn.display=''}
			}
			else buffer = null;
		}
		function get_mouse(e){
			var x = (ns4||ns6)?e.pageX:event.x+document.body.scrollLeft;
			var y = (ns4||ns6)?e.pageY:event.y+document.body.scrollTop;
			if(ie4) skn.left=316; skn.top=500;						
		}
		function remove_popup(){
			yyy = -1000;
			if(ns4){skn.visibility="hidden";}
			else if (ns6||ie4)
				skn.display = "none"
		}
		function cls(){
			document.getElementById('pdq').style.display='none';						
		}
/***************************************/

function poisitionIeFix() {			

	if (navigator.appName == "Microsoft Internet Explorer") {	
		var width = document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth;
		var height = document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientHeight:document.body.clientHeight;
				
		//alert(width +"---"+ height);
				
		if(width >= 1000 && width <= 1024) { with(document) { write("<style type='text/css'>#pdq {z-index:100; margin-left: 392px; margin-top: 100px; }</style>"); } } 
		if(width >= 900 && width >= 450) { with(document) { write("<style type='text/css'>#pdq {z-index:100; margin-left: 365px; margin-top: 100px; }</style>"); } } 
		if(width >= 1259 && width <= 1280) { with(document) { write("<style type='text/css'>#pdq {z-index:100; margin-left: 520px; margin-top: 95px; }</style>"); } } 	
		if(width >= 1340 && height >= 500) { with(document) { write("<style type='text/css'>#pdq {z-index:100; margin-left: 564px; margin-top: 100px; }</style>"); } } 	
		if(width >= 1370 && height >= 800) { with(document) { write("<style type='text/css'>#pdq {z-index:100; margin-left: 590px; margin-top: 95px; }</style>"); } } 							
		if(width >= 1400 && height >= 650) {  with(document) { write("<style type='text/css'>#pdq {z-index:100; margin-left: 600px; margin-top: 100px; }</style>"); } } 			
	}		
}

poisitionIeFix();
