   function Focus(element) {
     if (element.value == element.defaultValue) {
       element.value = '';
     }
   }
   function Blur(element) {
     if (element.value == '') {
       element.value = element.defaultValue;
     }
   }
   function ForRate(url)
	{
	
		var width  = 500;
		 var height = 300;
 		var left   = (screen.width  - width)/2;
 		var top    = (screen.height - height)/2;
		 var params = 'width='+width+', height='+height;
		 params += ', top='+top+', left='+left;
		 params += ', directories=no';
		 params += ', location=no';
		 params += ', menubar=no';
		 params += ', resizable=no';
		 params += ', scrollbars=no';
		 params += ', status=no';
		 params += ', toolbar=no';
		 newwin=window.open(url,'windowname5', params);
		 if (window.focus) {newwin.focus()}
		 return false;

	}
function showstar(val,strpath)
{
	//alert('hi');
	for(i=1;i<=5;i++){
		var source = "full_image_"+i;
		//alert(valu);
		if(val >=i)
		{
		//var valu = "full_image_"+i;
		//alert(document.getElementById(source));
		document.getElementById(source).src = strpath +'images/ico_fullRate.gif';
		}
		else{
		//alert(i);
		//alert(document.getElementById(source));
		document.getElementById(source).src = strpath +'images/ico_noRate.gif';
		}
	}
	document.getElementById("rate_score").value = val;
	//alert(" value "+document.getElementById("rate_score").value);
}

