function mouse_over(id,name)
{
var img_id,img_name,show_str;
img_id=id;
img_name=name;
show_str="document.images['"+id+"'].src='"+img_name+"'";
eval(show_str);
}

function mouse_out(id,name)
{
var img_id,img_name,show_str;
img_id=id;
img_name=name;
show_str="document.images['"+id+"'].src='"+img_name+"'";
eval(show_str);
}

function mouse_down(id,name)
{
var img_id,img_name,show_str;
img_id=id;
img_name=name;
show_str="document.images['"+id+"'].src='"+img_name+"'";
eval(show_str);
}

function chanpic(id,name)
{
var img_id,img_name,show_str;
img_id=id;
img_name=name;
show_str="document.images['"+id+"'].src='"+img_name+"'";
eval(show_str);
}

function itemXon(itemN){
var itemx=itemN;
var xitemstr="";
var midshow="";
var xitemcur="";
var i=1;
for(i=1;i<=4;i++){
	xitemstr="document.images['item0"+i+"'].src='images/index/ind08_item0"+i+"_p01_off.jpg'";
	eval(xitemstr);	
	}
xitemcur="images/index/ind08_"+itemx+"_p01_on.jpg";
chanpic(itemx,xitemcur);
midshow="images/index/ind08_"+itemx+"_p03.jpg";
chanpic('showx',midshow);
}

function itemXout(){
var xitemstrout="";
var i=1;
for(i=1;i<=4;i++){
	xitemstrout="document.images['item0"+i+"'].src='images/index/ind08_item0"+i+"_p01_off.jpg'";
	eval(xitemstrout);	
	}
chanpic('showx','images/index/ind08_lrow03_p02.jpg');
}

function LoadPic()	
{
//try to load images more quickly before using them.
  	var d=document; 	
  	if(d.images)		
	{ 
		if(!d.picarray) 			
			d.picarray=new Array();
    	var i;
		var j=d.picarray.length;	
		var a=LoadPic.arguments; 	
		for(i=0; i<a.length; i++)
    			if (a[i].indexOf("#")!=0)	
				{ 
				d.picarray[j]=new Image; 	
				d.picarray[j++].src=a[i];	
				}
	}
}



