/***********************************************
* Gradual Highlight image script- © Dynamic Drive DHTML
* This notice MUST stay intact for legal use
* Modify by Erik Dahlberg
***********************************************/
var baseopacity=50

function slowhigh(which2){
imgobj=which2
browserdetect=which2.filters? "ie" : typeof which2.style.MozOpacity=="string"? "mozilla" : ""
instantset(baseopacity)
highlighting=setInterval("gradualfade(imgobj)",50)
}

function slowlow(which2){
cleartimer()
instantset(baseopacity)
}

function instantset(degree){
if (browserdetect=="mozilla")
imgobj.style.MozOpacity=degree/100
else if (browserdetect=="ie")
imgobj.filters.alpha.opacity=degree
}

function cleartimer(){
if (window.highlighting) clearInterval(highlighting)
}

function gradualfade(cur2){
if (browserdetect=="mozilla" && cur2.style.MozOpacity<1)
cur2.style.MozOpacity=Math.min(parseFloat(cur2.style.MozOpacity)+0.1, 0.99)
else if (browserdetect=="ie" && cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}

function rif_01_onclick(Lang) {
	l_width=window.screen.width-10
	l_height=window.screen.height-30
	Parameter='width=' + l_width + ',height=' + l_height + ',left=0,top=0,status=0,location=0,scrollbars=0'
	Dummy=window.open('beg_rifle_15_indoor/'+Lang+'.html','Links2',Parameter)
}

function rif_02_onclick(Lang) {
	l_width=window.screen.width-10
	l_height=window.screen.height-30
	Parameter='width=' + l_width + ',height=' + l_height + ',left=0,top=0,status=0,location=0,scrollbars=0'
	Dummy=window.open('adv_rifle_15_indoor/'+Lang+'.html','Links2',Parameter)
}

function pis_01_onclick(Lang) {
	l_width=window.screen.width-10
	l_height=window.screen.height-30
	Parameter='width=' + l_width + ',height=' + l_height + ',left=0,top=0,status=0,location=0,scrollbars=0'
	Dummy=window.open('beg_pistol_15_indoor/'+Lang+'.html','Links2',Parameter)
}

function pis_02_onclick(Lang) {
	l_width=window.screen.width-10
	l_height=window.screen.height-30
	Parameter='width=' + l_width + ',height=' + l_height + ',left=0,top=0,status=0,location=0,scrollbars=0'
	Dummy=window.open('adv_pistol_15_indoor/'+Lang+'.html','Links2',Parameter)
}

function pis_03_onclick(Lang) {
	l_width=window.screen.width-10
	l_height=window.screen.height-30
	Parameter='width=' + l_width + ',height=' + l_height + ',left=0,top=0,status=0,location=0,scrollbars=0'
	Dummy=window.open('adv_pistol25/'+Lang+'.html','Links2',Parameter)
}

function rev_01_onclick(Lang) {
	l_width=window.screen.width-10
	l_height=window.screen.height-30
	Parameter='width=' + l_width + ',height=' + l_height + ',left=0,top=0,status=0,location=0,scrollbars=0'
	Dummy=window.open('beg_revol_15_indoor/'+Lang+'.html','Links2',Parameter)
}

function rev_02_onclick(Lang) {
	l_width=window.screen.width-10
	l_height=window.screen.height-30
	Parameter='width=' + l_width + ',height=' + l_height + ',left=0,top=0,status=0,location=0,scrollbars=0'
	Dummy=window.open('beg_revol_terrain/'+Lang+'.html','Links2',Parameter)
}
function jmp()
{
parent.top.document.location.href="http://www.eurosimulator.com/"
}
