function setStyles()
{	var contSec = document.getElementById('content-second')
	var contactCN = document.getElementById('primary_contactsCN')
	var contact3= document.getElementById('primary_contacts3')
	var uls = document.getElementsByTagName('ul')
	var browserName = whichBrs();
	if (browserName == 'Internet Explorer')
	{
		for( var i=0; i < uls.length; i++)
		{
			var nodeObj= uls.item(i)
			nodeObj.style.padding = '0px 0px 4px 0px'
			nodeObj.style.marginLeft = '35px'
		}
		if(contactCN != null)
		{
			contactCN.style.paddingRight='13em'
		}
		if(contact3 != null)
		{
			contact3.style.margin ='0 0 3ex 3.5em'
		}
	}
	
}

function popPDF(lang)
{
	pdf = "pdf/" + lang +"_translatus_pricelist.pdf";
  if (window.pdfWindow)
  {
     pdfWindow.focus();
  }
  else
  {
     pdfWindow = window.open(pdf);
  }
}

var newwindow;
function neww(url)
{
	newwindow=window.open(url,'Registration','resizable, height=400,width=550,scrollbars');
	if (window.focus) {newwindow.focus()}
}

// Browser Detection Javascript
// copyright 1 February 2003, by Stephen Chapman, Felgall Pty Ltd

// You have permission to copy and use this javascript provided that
// the content of the script is not changed in any way.

function whichBrs() {
var agt=navigator.userAgent.toLowerCase();
if (agt.indexOf("opera") != -1) return 'Opera';
if (agt.indexOf("staroffice") != -1) return 'Star Office';
if (agt.indexOf("webtv") != -1) return 'WebTV';
if (agt.indexOf("beonex") != -1) return 'Beonex';
if (agt.indexOf("chimera") != -1) return 'Chimera';
if (agt.indexOf("netpositive") != -1) return 'NetPositive';
if (agt.indexOf("phoenix") != -1) return 'Phoenix';
if (agt.indexOf("firefox") != -1) return 'Firefox';
if (agt.indexOf("safari") != -1) return 'Safari';
if (agt.indexOf("skipstone") != -1) return 'SkipStone';
if (agt.indexOf("msie") != -1) return 'Internet Explorer';
if (agt.indexOf("netscape") != -1) return 'Netscape';
if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
if (agt.indexOf('\/') != -1) {
if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
return navigator.userAgent.substr(0,agt.indexOf('\/'));}
else return 'Netscape';} else if (agt.indexOf(' ') != -1)
return navigator.userAgent.substr(0,agt.indexOf(' '));
else return navigator.userAgent;
}


function setStyles()
{	var contSec = document.getElementById('content-second')
	var contSec3 = document.getElementById('content-second_item3')
	var subMenu= document.getElementById('submenu')
	var uls = document.getElementsByTagName('ul')
	var browserName = whichBrs();
	if (browserName == 'Internet Explorer')
	{
		for( var i=0; i < uls.length; i++)
		{
			var nodeObj= uls.item(i)
			nodeObj.style.padding = '0px 0px 4px 0px'
			nodeObj.style.marginLeft = '35px'
		}
		
	}
	
}
function show(el)
{  var ele = document.getElementById(el);
   ele.style.display = 'block';
}
function hide(el)
{  var ele = document.getElementById(el);
   ele.style.display = 'none';
}
