img1=new Image()
img1.src='../images/arrowgray2.gif'


function chng(pic_location,pic)
{
	if (PicName!=pic_location)
	document[pic_location].src=pic
}

function linking(url)
{
document.all.Mifr.src=url
}	

var last_one=null
function chng_div(new_one)
{
if (last_one!=null)
{
  document.getElementById(last_one).style.visibility='hidden'
}
document.getElementById(new_one).style.visibility='visible'
last_one=new_one
}
	
last_div=null
last_one_team=null

var doc=0
var sty=0
 function f_sniffer() 
{

	nameOf=navigator.appName

	if(nameOf=='Microsoft Internet Explorer')
	{
	doc='document.all.'
	sty='.style'
	}
	else
	{
	doc='document.'
	sty=''
	}

change_place()
}

function change_place()
{
if(doc!=0)
{
windowWidth=document.body.offsetWidth	
//alert(windowWidth)
			if(windowWidth>(760+20))
			windowWidthLeft=(windowWidth-(760+20))/2	
			else
			windowWidthLeft=0
			
			
document.getElementById('div_about').style.left=windowWidthLeft+259
document.getElementById('div_products').style.left=windowWidthLeft+347
document.getElementById('div_technology').style.left=windowWidthLeft+457
}
}	


function change_place_home()
{
if(doc!=0)
{
windowWidth=document.body.offsetWidth	
windowHeight=document.body.offsetHeight
//alert(windowWidth)
			if(windowWidth>(760+20))
			windowWidthLeft=(windowWidth-(760+20))/2	
			else
			windowWidthLeft=0
			
			if(windowHeight>(426))
			{
			windowHeightTop=(windowHeight-(423))/2
			//alert(windowHeight)
			//alert(windowHeightTop)
			}
			else
			{
			windowHeightTop=0
			//alert(windowHeightTop)
			}
				
	
lay5=eval(doc+"aboutusbar"+sty)
lay5.left=windowWidthLeft+265
lay5.top=windowHeightTop+157

lay6=eval(doc+"teambar"+sty)
lay6.left=windowWidthLeft+349
lay6.top=windowHeightTop+157

lay7=eval(doc+"portfoliobar"+sty)
lay7.left=windowWidthLeft+410
lay7.top=windowHeightTop+157

lay8=eval(doc+"advantagebar"+sty)
lay8.left=windowWidthLeft+493
lay8.top=windowHeightTop+157

lay9=eval(doc+"contactbar"+sty)
lay9.left=windowWidthLeft+606
lay9.top=windowHeightTop+157

lay10=eval(doc+"newsbar"+sty)
lay10.left=windowWidthLeft+650
lay10.top=windowHeightTop+157




}
}	



function f_opengen(address,name,width,height)
{
window.open(address,name,"width="+width+",height="+height+",scrollbars=1,resizable=1,top=10,left=10,toolbar=0,status=0")
}
function f_opengen_ifat(address,name)
{
if (screen.width == 800)
{

window.open(address,name,"width=630,height=390,menubar=no,toolbar=no,scrollbars=yes,resizable=no,top=150,left=72")
}
else
window.open(address,name,"width=630,height=510,menubar=no,toolbar=no,scrollbars=yes,resizable=no,top=200,left=185")
}

function f_opengen_full(address,name,width,height)
{
window.open(address,name,"width="+width+",height="+height+",scrollbars=1,resizable=1,top=10,left=10,toolbar=0,status=0")
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}