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)
{
//alert(new_one)
if (last_one!=null)
{
last_layer=eval('document.all.'+last_one+'.style')
last_layer.visibility='hidden'
}
new_layer=eval('document.all.'+new_one+'.style')
new_layer.visibility='visible'

last_one=new_one

}


var last_one_team=null
function chng_div_team(new_one_team)
{
if (last_one_team!=null)
{
last_layer_team=eval('document.all.'+last_one_team+'.style')
last_layer_team.visibility='hidden'
}
new_layer_team=eval('document.all.'+new_one_team+'.style')
new_layer_team.visibility='visible'

last_one_team=new_one_team

}

last_div=null
last_one_team=null

var doc=0
var sty=0
 function f_sniffer() 
{

	nameOf=navigator.appName

	if(nameOf=='Netscape')
	{
	doc='document.'
	sty=''
	}
	if(nameOf=='Microsoft Internet Explorer')
	{
	doc='document.all.'
	sty='.style'
	}
//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
				
	
lay9=eval(doc+"solutions_div"+sty)
lay9.left=windowWidthLeft+606

}
}	




function f_opengen(address,name,width,height)
{
window.open(address,name,"width="+width+",height="+height+",scrollbars=0,resizable=no,top=180,left=150,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")
}

