function PopUpWindow(link,width,height)
{
	mywin=window.open(link,"Details","status=no,toolbar=no,scrollbars=yes,width="+width+",height="+height);
}
function PopUpWindow(link,width,height){mywin=window.open(link,"Details","status=no,toolbar=no,scrollbars=yes,width="+width+",height="+height);}
function pmo(eID){document.getElementById(eID).className='page_link_span_mo';}
function pmt(eID){document.getElementById(eID).className='page_link_span_mt';}

function xmo(eID){document.getElementById(eID).className='list_thumb_bott_mo';}
function xmt(eID){document.getElementById(eID).className='list_thumb_bott';}

function xxmo(eID){document.getElementById(eID).className='list_thumb_small_mo';}
function xxmt(eID){document.getElementById(eID).className='list_thumb_small';}

function mo(eID,sw){document.getElementById(eID).className="imgTmb_over";}
function mt(eID,sw){document.getElementById(eID).className="imgTmb_out";}
function fdivsrc()
{	
	if(document.getElementById('divsrc').style.display=='none')	
	{
		document.getElementById('divsrc').style.display='block';
		document.getElementById('imgpmID').src='_pix/minus.bmp';
	}
	else 
	{	
		document.getElementById('divsrc').style.display='none';
		document.getElementById('imgpmID').src='_pix/plus.bmp';
	}
}
function createCookie(name,value,days)
{	
	if (days)
	{
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else 
		var expires = "";
		
	document.cookie = name+"="+value+expires+"; path=/";
}
function fdivsrc()
{
	if(document.getElementById('divsrc').style.display=='none')
	{
		document.getElementById('divsrc').style.display='block';
		document.getElementById('imgpmID').src='_pix/minus$x.bmp';
		createCookie('mxplusminus','m',400);
	}
	else
	{
		document.getElementById('divsrc').style.display='none';
		document.getElementById('imgpmID').src='_pix/plus$x.bmp';
		createCookie('mxplusminus','p',400);
	}
}
image1=new Image();
image1.src='_pix/s1.gif';
image2=new Image();image2.src='_pix/s2.gif';
function replace2(img_nom)
{
	var i;
	var img_name;
	for(i=1;i<=img_nom;i++)
	{
		img_name='star'+i;
		document[img_name].src=image2.src;
	}
}
function replace1(img_nom)
{
	var i;
	var img_name;
	for(i=1;i<=5;i++)
	{
		img_name='star'+i;
		imgOn=eval(image1);
		document[img_name].src=image1.src;
	}
}
