function gif_over(src) {
	src.children.tags('IMG')[0].src=src.children.tags('IMG')[0].src.replace('.gif','r.gif');
} 
function gif_out(src) {
	src.children.tags('IMG')[0].src=src.children.tags('IMG')[0].src.replace('r.gif','.gif');
}

function show(name,name1) {
	document.images[name].src='/img/'+name+'r.gif';	
	if (name1!='0'){
			document.images[name1].src='/img/'+name1+'a.gif';
	}
} 
function hide(name,name1) {
	document.images[name].src='/img/'+name+'.gif';
	if (name1!='0'){
		document.images[name1].src='/img/'+name1+'.gif';
	}
	/*if ((name1=='0')||(name=='jobi')){
		showLayer('jobi_menu');
	}*/
}



function showLayer(layerName) {
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
}
function hideLayer(layerName) {
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
}
function activeLayer(layerName) {
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
	show('jobi','0');
}


ns=0;
layerRef="document.all";
styleSwitch=".style";
if (navigator.appName == "Netscape") {
	ns=1;
	layerRef="document.layers";
  	styleSwitch="";
}



function adj(){
	width = screen.width;
    height = screen.height;
	if(width<1024){
/*800*/				document.all.tdtd.width='100%';
	}else if(width<1152){
/*1024*/			document.all.tdtd.width='96%';
	}else if (width<1280){
/*1152*/			document.all.tdtd.width='85%';
	}else if (width<1600){
/*1280*/			document.all.tdtd.width='87%';
	}else{
/*1600 and more*/	document.all.tdtd.width='61%';
	}
}