		function DetailValidation(txtid)
		{		               
			try
			{
				window.document.Form2.elements[txtid].title="Product Quantity";
				window.document.Form2.elements[txtid].number=true;		    
			}
			catch(e)
			{
				// alert(e)
			}
		    
			return ValidateForm(window.document.Form2)
		}	

		$(document).ready(function()   {
			                   
				$('#product_info').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'fast' });
     		});
			
		var current_ID, all_length, init_var;					

		function btn_onclick(_this,URL)
		{
			temp_this=_this;
			if(init_var==_this.id)
			{
				//if(_this.src == "list_animated_speaker.gif")
					_this.src="list_speaker.gif";
				//else _this.src="speaker_stop.gif";
				
				set_player("");
				init_var="";
			}else{
				//if(_this.src == "list_speaker.gif")
					_this.src="list_animated_speaker.gif";
				//else _this.src="speaker.gif";
				onclick_action(_this.id,_this);
				
				set_player(URL);
				init_var=_this.id;
			}
		}
		
		function btn_onclick2(_this,URL)
		{
			temp_this=_this;
			if(init_var==_this.id)
			{
				_this.src="speaker_stop.gif";
				set_player("");
				init_var="";
			}else{
				_this.src="speaker.gif";
				onclick_action(_this.id,_this);
				
				set_player(URL);
				init_var=_this.id;
			}
		}
		
		function onSoundComplete()
		{
			if(_this.src == "list_animated_speaker.gif")
				temp_this.src="list_speaker.gif"
			else temp_this.src="speaker_stop.gif"
			set_player("");
			init_var="";
		}
		
	
		function set_player(URL_)
		{
			/* if($('#player_').size()) {
				$('#player_').playSong(URL_); 
			}
			*/
			if (document.getElementById("jimsons"))
			{
				document.getElementById("jimsons").playSong(URL_);
			}
			else if (document.jimsons)
			{
				document.jimsons.playSong(URL_);
			}
		}

		/*
		function onclick_action(ID,_this){
			if(init_var==_this.id){
				_this.src="list_speaker.gif";
				set_player("");
				init_var="";
			} else {
				_this.src="list_animated_speaker.gif";
				set_player(URL);
				init_var=_this.id;
			}
		}
		*/
		
		function onclick_action(ID,_this){
			//alert(ID);
			var i;
			for(i=1;i<=20;i++){
				//alert(i + ' - ' + $("#btn_"+i).size() + ' - ' + ID );				
				if("btn_"+i != ID){
					if($("#btn_"+i).size()) {
						document.getElementById("btn_"+i).src="speaker_stop.gif";
					}
				} else{
					if($("#btn_"+i).size()) {
						//$("#btn_"+i).src="list_animated_speaker.gif";
						document.getElementById("btn_"+i).src="speaker.gif";
					}
				}
			}
			
			if("btn_99" != ID){
				alert
				if($("#btn_99").size()) {
					document.getElementById("btn_99").src="list_speaker.gif";
				}
			}
		}				
			
		function set_global(ID){
			//alert(ID);
			current_ID=ID
		}
		function get_global(){
			return current_ID;
		}
			
		var bannerarea = RUZEE.ShadedBorder.create({ corner:8, edges:"tlr", shadow:19, border:2});
		//var details_area = RUZEE.ShadedBorder.create({ corner:8, shadow:0, border:1 });
		var promos = RUZEE.ShadedBorder.create({ corner:8, shadow:0, border:1 });
		var buytop = RUZEE.ShadedBorder.create({ corner:8, edges:"tlr", shadow:16, border:2});
		var buynow = RUZEE.ShadedBorder.create({ corner:8, edges:"blr", shadow:16, border:2 });
		var ProductDetail11_Repeater1__ctl1_promo_box 
		var ProductDetail11_Repeater1__ctl3_promo_box 
		var ProductDetail11_Repeater1__ctl5_promo_box 
		if($('#ProductDetail11_Repeater1__ctl1_promo_box') != null) 
			ProductDetail11_Repeater1__ctl1_promo_box = RUZEE.ShadedBorder.create({ corner:8, shadow:0, border:2 });
		if($('#ProductDetail11_Repeater1__ctl13_promo_box') != null) 
			ProductDetail11_Repeater1__ctl3_promo_box = RUZEE.ShadedBorder.create({ corner:8, shadow:0, border:2 });
		if($('#ProductDetail11_Repeater1__ctl5_promo_box') != null) 
			ProductDetail11_Repeater1__ctl5_promo_box = RUZEE.ShadedBorder.create({ corner:8, shadow:0, border:2 });

