



 (function ($) {
    $(document).ready(function () {
    	        
    	        
    	     
	
	
	
	
//获取滚动条的高度

function getPageScroll(){

var yScroll;

if (self.pageYOffset) {

yScroll = self.pageYOffset;

} else if (document.documentElement && document.documentElement.scrollTop){

yScroll = document.documentElement.scrollTop;

} else if (document.body) {

yScroll = document.body.scrollTop;

}

arrayPageScroll = new Array('',yScroll)

return arrayPageScroll;

}

//获取页面实际大小

function getPageSize(){

var xScroll,yScroll;

if (window.innerHeight && window.scrollMaxY){

xScroll = document.body.scrollWidth;

yScroll = window.innerHeight + window.scrollMaxY;

} else if (document.body.scrollHeight > document.body.offsetHeight){

sScroll = document.body.scrollWidth;

yScroll = document.body.scrollHeight;

} else {

xScroll = document.body.offsetWidth;

yScroll = document.body.offsetHeight;

}

var windowWidth,windowHeight;

//var pageHeight,pageWidth;

if (self.innerHeight) {

windowWidth = self.innerWidth;

windowHeight = self.innerHeight;

} else if (document.documentElement && document.documentElement.clientHeight) {

windowWidth = document.documentElement.clientWidth;

windowHeight = document.documentElement.clientHeight;

} else if (document.body) {

windowWidth = document.body.clientWidth;

windowHeight = document.body.clientHeight;

}

var pageWidth,pageHeight

if(yScroll < windowHeight){

pageHeight = windowHeight;

} else {

pageHeight = yScroll;

}

if(xScroll < windowWidth) {

pageWidth = windowWidth;

} else {

pageWidth = xScroll;

}

arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight)

return arrayPageSize;

}         
   
$('#agree').click(function(){
  	
  
			  $('#minfee').hide();
			  $('#price').val('5.99');
			  $('#pricex').val('5.99'); 
			  $("#multsale").submit();
  
  	
 	});
  
  $('#disagree').click(function(){
  	
  	$('#minfee').hide();
  	
 	});
    
  
     $('#submit1').click(function(){
           var price=$('#price').val();    
            if(price<5.99){
               var arrayPageSize = getPageSize();//调用getPageSize()函数

var arrayPageScroll = getPageScroll();//调用getPageScroll()函数


document.getElementById("minfee").style.top = arrayPageScroll[1] + (arrayPageSize[3] - 250) / 2 + 'px';

document.getElementById("minfee").style.left = (arrayPageSize[0] - 480) / 2 + 'px';	 
			$('#minfee').show();	
             return false;
			 	
            }  
         	});
     $('#submit2').click(function(){
           var price=$('#price').val();    
            if(price<5.99){
               var arrayPageSize = getPageSize();//调用getPageSize()函数

var arrayPageScroll = getPageScroll();//调用getPageScroll()函数


document.getElementById("minfee").style.top = arrayPageScroll[1] + (arrayPageSize[3] - 290) / 2 + 'px';

document.getElementById("minfee").style.left = (arrayPageSize[0] - 480) / 2 + 'px';	
			$('#minfee').show();	
             return false;
			 	
            }  
         	});    	
         	 	


    	    	$('#zeal').change(function(){
					
				b = $("#zeal").find("option:selected").text();	
				$("#zealv").attr("value",b);
					});
				$('#gold').change(function(){
					
				c = $("#gold").find("option:selected").text();
					
				$("#Goldm").attr("value",c);
					});		
    	$('#start1').change(function(){
					
				b = $("#start1").find("option:selected").text();	
				c = $("#end1").find("option:selected").text();
				var s = $("#rptLevelList_ctl10_lblPrice").text();
				var y = $("#rptLevelList_ctl10_lblTime").text();
				var g = $("#rptLevelList_ctl10_lblGold").text();
				  var e ='agility';
				var ac = e+','+b+','+c+','+s+','+y+','+g;
			 
						$("#agility").attr("value",ac);	   
						//$("#start1").attr("disabled",true);
						// var data= document.getElementById('agility');
					    //adddata(data);		
			         	
			
			});
			$('#end1').change(function(){
					
				b1 = $("#start1").find("option:selected").text();	
				
				c1 = $("#end1").find("option:selected").text();
				var s1 = $("#rptLevelList_ctl10_lblPrice").text();
				var y1 = $("#rptLevelList_ctl10_lblTime").text();
				var g1 = $("#rptLevelList_ctl10_lblGold").text();
				 var e ='agility';
				var ac1 = e+','+b1+','+c1+','+s1+','+y1+','+g1;
					$("#agility").attr("disabled",false);
						$("#agility").attr("value",ac1);	   
					
						 var data= document.getElementById('agility');
					    adddata(data);		
			            $("#agility").attr("checked",true);
			            $("#start1").attr("disabled",true);
						$("#end1").attr("disabled",true);
						
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b1+'</span><span id="asdasd" style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c1+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s1+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y1+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g1+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer;" onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						
						setTimeout(function(){closeTopAD();},3000);
						
			
			});
    	
    	
$('#start2').change(function(){
					
				b2 = $("#start2").find("option:selected").text();	
				c2 = $("#end2").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl11_lblPrice").text();
				var y2 = $("#rptLevelList_ctl11_lblTime").text();
				var g2 = $("#rptLevelList_ctl11_lblGold").text();
				 var e ='attack';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			
						$("#attack").attr("value",ac2);	   
						//$("#start2").attr("disabled",true);
						// var data= document.getElementById('attack');
					    //adddata(data);		
			           	
			
			});
			$('#end2').change(function(){
					
				b3 = $("#start2").find("option:selected").text();	
				
				c3 = $("#end2").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl11_lblPrice").text();
				var y3 = $("#rptLevelList_ctl11_lblTime").text();
				var g3 = $("#rptLevelList_ctl11_lblGold").text();
				 var e ='attack';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			$("#attack").attr("disabled",false);
						$("#attack").attr("value",ac3);	   
						//$("#end2").attr("disabled",true);
						 var data= document.getElementById('attack');
					    adddata(data);		
			            $("#attack").attr("checked",true);
			            $("#start2").attr("disabled",true);
						$("#end2").attr("disabled",true);	
					$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
			
			});
			$('#start3').change(function(){
					
				b2 = $("#start3").find("option:selected").text();	
				c2 = $("#end3").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl21_lblPrice").text();
				var y2 = $("#rptLevelList_ctl21_lblTime").text();
				var g2 = $("#rptLevelList_ctl21_lblGold").text();
				 var e ='constitution';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			
						$("#constitution").attr("value",ac2);	   
						//$("#start3").attr("disabled",true);
							
			
			});
			$('#end3').change(function(){
					
				b3 = $("#start3").find("option:selected").text();	
				
				c3 = $("#end3").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl21_lblPrice").text();
				var y3 = $("#rptLevelList_ctl21_lblTime").text();
				var g3 = $("#rptLevelList_ctl21_lblGold").text();
				 var e ='constitution';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			$("#constitution").attr("disabled",false);
						$("#constitution").attr("value",ac3);	   
					//	$("#end3").attr("disabled",true);
					 var data= document.getElementById('constitution');
					    adddata(data);		
			            $("#constitution").attr("checked",true);
			            $("#start3").attr("disabled",true);
						$("#end3").attr("disabled",true);
						
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
							
			
			});
    	$('#start4').change(function(){
					
				b2 = $("#start4").find("option:selected").text();	
				c2 = $("#end4").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl12_lblPrice").text();
				var y2 = $("#rptLevelList_ctl12_lblTime").text();
				var g2 = $("#rptLevelList_ctl12_lblGold").text();
				 var e ='construction';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#construction").attr("value",ac2);	   
						//$("#start4").attr("disabled",true);
							
			
			});
			$('#end4').change(function(){
					
				b3 = $("#start4").find("option:selected").text();	
				
				c3 = $("#end4").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl12_lblPrice").text();
				var y3 = $("#rptLevelList_ctl12_lblTime").text();
				var g3 = $("#rptLevelList_ctl12_lblGold").text();
				
				 var e ='construction';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			           $("#construction").attr("disabled",false);
						$("#construction").attr("value",ac3);
						//$("#end4").attr("disabled",true);
						 var data= document.getElementById('construction');
					    adddata(data);		
			            $("#construction").attr("checked",true);
			            $("#start4").attr("disabled",true);
						$("#end4").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						});
			$('#start5').change(function(){
					
				b2 = $("#start5").find("option:selected").text();	
				c2 = $("#end5").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl13_lblPrice").text();
				var y2 = $("#rptLevelList_ctl13_lblTime").text();
				var g2 = $("#rptLevelList_ctl13_lblGold").text();
				 var e ='cooking';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#cooking").attr("value",ac2);	   
						//$("#start5").attr("disabled",true);
							
			
			});
			$('#end5').change(function(){
					
				b3 = $("#start5").find("option:selected").text();	
				
				c3 = $("#end5").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl13_lblPrice").text();
				var y3 = $("#rptLevelList_ctl13_lblTime").text();
				var g3 = $("#rptLevelList_ctl13_lblGold").text();
				
				 var e ='cooking';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			           $("#cooking").attr("disabled",false);
						$("#cooking").attr("value",ac3);
						//$("#end5").attr("disabled",true);
						var data= document.getElementById('cooking');
					    adddata(data);		
			            $("#cooking").attr("checked",true);
			            $("#start5").attr("disabled",true);
						$("#end5").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						});
    	$('#start6').change(function(){
					
				b2 = $("#start6").find("option:selected").text();	
				c2 = $("#end6").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl14_lblPrice").text();
				var y2 = $("#rptLevelList_ctl14_lblTime").text();
				var g2 = $("#rptLevelList_ctl14_lblGold").text();
				 var e ='crafting';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#crafting").attr("value",ac2);	   
						//$("#start6").attr("disabled",true);
							
			
			});
			$('#end6').change(function(){
					
				b3 = $("#start6").find("option:selected").text();	
				
				c3 = $("#end6").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl14_lblPrice").text();
				var y3 = $("#rptLevelList_ctl14_lblTime").text();
				var g3 = $("#rptLevelList_ctl14_lblGold").text();
				
				 var e ='crafting';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			            $("#crafting").attr("disabled",false);
						$("#crafting").attr("value",ac3);
						//$("#end6").attr("disabled",true);
						var data= document.getElementById('crafting');
					    adddata(data);		
			            $("#crafting").attr("checked",true);
			            $("#start6").attr("disabled",true);
						$("#end6").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						
						});
						    	$('#start7').change(function(){
					
				b2 = $("#start7").find("option:selected").text();	
				c2 = $("#end7").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl15_lblPrice").text();
				var y2 = $("#rptLevelList_ctl15_lblTime").text();
				var g2 = $("#rptLevelList_ctl15_lblGold").text();
				 var e ='defence';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#defence").attr("value",ac2);	   
						//$("#start7").attr("disabled",true);
							
			
			});
			$('#end7').change(function(){
					
				b3 = $("#start7").find("option:selected").text();	
				
				c3 = $("#end7").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl15_lblPrice").text();
				var y3 = $("#rptLevelList_ctl15_lblTime").text();
				var g3 = $("#rptLevelList_ctl15_lblGold").text();
				
				 var e ='defence';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			            $("#defence").attr("disabled",false);
						$("#defence").attr("value",ac3);
						//$("#end7").attr("disabled",true);
						var data= document.getElementById('defence');
					    adddata(data);		
			            $("#defence").attr("checked",true);
			            $("#start7").attr("disabled",true);
						$("#end7").attr("disabled",true);
						
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						});
$('#start8').change(function(){
					
				b2 = $("#start8").find("option:selected").text();	
				c2 = $("#end8").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl46_lblPrice").text();
				var y2 = $("#rptLevelList_ctl46_lblTime").text();
				var g2 = $("#rptLevelList_ctl46_lblGold").text();
				var e ='dungeoneering';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#dungeoneering").attr("value",ac2);	   
						//$("#start8").attr("disabled",true);
							
			
			});
			$('#end8').change(function(){
					
				b3 = $("#start8").find("option:selected").text();	
				
				c3 = $("#end8").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl46_lblPrice").text();
				var y3 = $("#rptLevelList_ctl46_lblTime").text();
				var g3 = $("#rptLevelList_ctl46_lblGold").text();
				
				var e ='dungeoneering';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			           $("#dungeoneering").attr("disabled",false);
						$("#dungeoneering").attr("value",ac3);
					//	$("#end8").attr("disabled",true);
					var data= document.getElementById('dungeoneering');
					    adddata(data);		
			            $("#dungeoneering").attr("checked",true);
			            $("#start8").attr("disabled",true);
						$("#end8").attr("disabled",true);
						
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
					
						});
						$('#start9').change(function(){
					
				b2 = $("#start9").find("option:selected").text();	
				c2 = $("#end9").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl16_lblPrice").text();
				var y2 = $("#rptLevelList_ctl16_lblTime").text();
				var g2 = $("#rptLevelList_ctl16_lblGold").text();
				var e ='farming';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#farming").attr("value",ac2);	   
						//$("#start9").attr("disabled",true);
							
			
			});
			$('#end9').change(function(){
					
				b3 = $("#start9").find("option:selected").text();	
				
				c3 = $("#end9").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl16_lblPrice").text();
				var y3 = $("#rptLevelList_ctl16_lblTime").text();
				var g3 = $("#rptLevelList_ctl16_lblGold").text();
				
				var e ='farming';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			            $("#farming").attr("disabled",false);
						$("#farming").attr("value",ac3);
						//$("#end9").attr("disabled",true);
						var data= document.getElementById('farming');
					    adddata(data);		
			            $("#farming").attr("checked",true);
			            $("#start9").attr("disabled",true);
						$("#end9").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						});
	$('#start10').change(function(){
					
				b2 = $("#start10").find("option:selected").text();	
				c2 = $("#end10").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl17_lblPrice").text();
				var y2 = $("#rptLevelList_ctl17_lblTime").text();
				var g2 = $("#rptLevelList_ctl17_lblGold").text();
				var e ='firemaking';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#firemaking").attr("value",ac2);	   
						//$("#start10").attr("disabled",true);
							
			
			});
			$('#end10').change(function(){
					
				b3 = $("#start10").find("option:selected").text();	
				
				c3 = $("#end10").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl17_lblPrice").text();
				var y3 = $("#rptLevelList_ctl17_lblTime").text();
				var g3 = $("#rptLevelList_ctl17_lblGold").text();
				
				var e ='firemaking';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			            $("#firemaking").attr("disabled",false);
						$("#firemaking").attr("value",ac3);
						//$("#end10").attr("disabled",true);
						var data= document.getElementById('firemaking');
					    adddata(data);		
			            $("#firemaking").attr("checked",true);
			            $("#start10").attr("disabled",true);
						$("#end10").attr("disabled",true);
					$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						});		
							$('#start11').change(function(){
					
				b2 = $("#start11").find("option:selected").text();	
				c2 = $("#end11").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl18_lblPrice").text();
				var y2 = $("#rptLevelList_ctl18_lblTime").text();
				var g2 = $("#rptLevelList_ctl18_lblGold").text();
				
				var e ='fishing';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#fishing").attr("value",ac2);	   
					//	$("#start11").attr("disabled",true);
							
			
			});
			$('#end11').change(function(){
					
				b3 = $("#start11").find("option:selected").text();	
				
				c3 = $("#end11").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl18_lblPrice").text();
				var y3 = $("#rptLevelList_ctl18_lblTime").text();
				var g3 = $("#rptLevelList_ctl18_lblGold").text();
				
				var e ='fishing';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			            $("#fishing").attr("disabled",false);
						$("#fishing").attr("value",ac3);
						//$("#end11").attr("disabled",true);
						var data= document.getElementById('fishing');
					    adddata(data);		
			            $("#fishing").attr("checked",true);
			            $("#start11").attr("disabled",true);
						$("#end11").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						});		
													$('#start12').change(function(){
					
				b2 = $("#start12").find("option:selected").text();	
				c2 = $("#end12").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl19_lblPrice").text();
				var y2 = $("#rptLevelList_ctl19_lblTime").text();
				var g2 = $("#rptLevelList_ctl19_lblGold").text();
				var e ='fletching';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#fletching").attr("value",ac2);	   
						//$("#start12").attr("disabled",true);
							
			
			});
			$('#end12').change(function(){
					
				b3 = $("#start12").find("option:selected").text();	
				
				c3 = $("#end12").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl19_lblPrice").text();
				var y3 = $("#rptLevelList_ctl19_lblTime").text();
				var g3 = $("#rptLevelList_ctl19_lblGold").text();
				
				var e ='fletching';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			           $("#fletching").attr("disabled",false);
						$("#fletching").attr("value",ac3);
						//$("#end12").attr("disabled",true);
						var data= document.getElementById('fletching');
					    adddata(data);		
			            $("#fletching").attr("checked",true);
			            $("#start12").attr("disabled",true);
						$("#end12").attr("disabled",true);
							$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						});		
									
	$('#start13').change(function(){
					
				b2 = $("#start13").find("option:selected").text();	
				c2 = $("#end13").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl20_lblPrice").text();
				var y2 = $("#rptLevelList_ctl20_lblTime").text();
				var g2 = $("#rptLevelList_ctl20_lblGold").text();
				var e ='herblore';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#herblore").attr("value",ac2);	   
						//$("#start13").attr("disabled",true);
							
			
			});
			$('#end13').change(function(){
					
				b3 = $("#start13").find("option:selected").text();	
				
				c3 = $("#end13").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl20_lblPrice").text();
				var y3 = $("#rptLevelList_ct120_lblTime").text();
				var g3 = $("#rptLevelList_ctl20_lblGold").text();
				
				var e ='herblore';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			            $("#herblore").attr("disabled",false);
						$("#herblore").attr("value",ac3);
						var data= document.getElementById('herblore');
					    adddata(data);		
			            $("#herblore").attr("checked",true);
			            $("#start13").attr("disabled",true);
						$("#end13").attr("disabled",true);
							$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						});		
			$('#start14').change(function(){
					
				b2 = $("#start14").find("option:selected").text();	
				c2 = $("#end14").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl22_lblPrice").text();
				var y2 = $("#rptLevelList_ctl22_lblTime").text();
				var g2 = $("#rptLevelList_ctl22_lblGold").text();
				var e ='hunter';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#hunter").attr("value",ac2);	   
						//$("#start14").attr("disabled",true);
							
			
			});
			$('#end14').change(function(){
					
				b3 = $("#start14").find("option:selected").text();	
				
				c3 = $("#end14").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl22_lblPrice").text();
				var y3 = $("#rptLevelList_ctl22_lblTime").text();
				var g3 = $("#rptLevelList_ctl22_lblGold").text();
				
				var e ='hunter';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			            $("#hunter").attr("disabled",false);
						$("#hunter").attr("value",ac3);
					//	$("#end14").attr("disabled",true);
					var data= document.getElementById('hunter');
					    adddata(data);		
			            $("#hunter").attr("checked",true);
			            $("#start14").attr("disabled",true);
						$("#end14").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						});			
											$('#start15').change(function(){
					
				b2 = $("#start15").find("option:selected").text();	
				c2 = $("#end15").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl23_lblPrice").text();
				var y2 = $("#rptLevelList_ctl23_lblTime").text();
				var g2 = $("#rptLevelList_ctl23_lblGold").text();
				var e ='magic';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#magic").attr("value",ac2);	   
						//$("#start15").attr("disabled",true);
							
			
			});
			$('#end15').change(function(){
					
				b3 = $("#start15").find("option:selected").text();	
				
				c3 = $("#end15").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl23_lblPrice").text();
				var y3 = $("#rptLevelList_ctl23_lblTime").text();
				var g3 = $("#rptLevelList_ctl23_lblGold").text();
				
				var e ='magic';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			           $("#magic").attr("disabled",false);
						$("#magic").attr("value",ac3);
						//$("#end15").attr("disabled",true);
						var data= document.getElementById('magic');
					    adddata(data);		
			            $("#magic").attr("checked",true);
			            $("#start15").attr("disabled",true);
						$("#end15").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						});																		
																	$('#start16').change(function(){
					
				b2 = $("#start16").find("option:selected").text();	
				c2 = $("#end16").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl24_lblPrice").text();
				var y2 = $("#rptLevelList_ctl24_lblTime").text();
				var g2 = $("#rptLevelList_ctl24_lblGold").text();
				var e ='mining';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			         
						$("#mining").attr("value",ac2);	   
						
							
			
			});
			$('#end16').change(function(){
					
				b3 = $("#start16").find("option:selected").text();	
				
				c3 = $("#end16").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl24_lblPrice").text();
				var y3 = $("#rptLevelList_ctl24_lblTime").text();
				var g3 = $("#rptLevelList_ctl24_lblGold").text();
				
				var e ='mining';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			          $("#mining").attr("disabled",false);
						$("#mining").attr("value",ac3);
						var data= document.getElementById('mining');
					    adddata(data);		
			            $("#mining").attr("checked",true);
			            $("#start16").attr("disabled",true);
						$("#end16").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
					
						});		
																							$('#start17').change(function(){
					
				b2 = $("#start17").find("option:selected").text();	
				c2 = $("#end17").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl25_lblPrice").text();
				var y2 = $("#rptLevelList_ctl25_lblTime").text();
				var g2 = $("#rptLevelList_ctl25_lblGold").text();
				var e ='prayer';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
				
						$("#prayer").attr("value",ac2);	   
						
							
			
			});
			$('#end17').change(function(){
					
				b3 = $("#start17").find("option:selected").text();	
				
				c3 = $("#end17").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl25_lblPrice").text();
				var y3 = $("#rptLevelList_ctl25_lblTime").text();
				var g3 = $("#rptLevelList_ctl25_lblGold").text();
				
				var e ='prayer';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			        $("#prayer").attr("disabled",false);  
						$("#prayer").attr("value",ac3);
						var data= document.getElementById('prayer');
					    adddata(data);		
			            $("#prayer").attr("checked",true);
			            $("#start17").attr("disabled",true);
						$("#end17").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						});	
	$('#start18').change(function(){
					
				b2 = $("#start18").find("option:selected").text();	
				c2 = $("#end18").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl26_lblPrice").text();
				var y2 = $("#rptLevelList_ctl26_lblTime").text();
				var g2 = $("#rptLevelList_ctl26_lblGold").text();
				var e ='ranged';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#ranged").attr("value",ac2);	   
						
							
			
			});
			$('#end18').change(function(){
					
				b3 = $("#start18").find("option:selected").text();	
				
				c3 = $("#end18").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl26_lblPrice").text();
				var y3 = $("#rptLevelList_ctl26_lblTime").text();
				var g3 = $("#rptLevelList_ctl26_lblGold").text();
				
				var e ='ranged';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			              $("#ranged").attr("disabled",false);  
						$("#ranged").attr("value",ac3);
						var data= document.getElementById('ranged');
					    adddata(data);		
			            $("#ranged").attr("checked",true);
			            $("#start18").attr("disabled",true);
						$("#end18").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						});		
		$('#start19').change(function(){
					
				b2 = $("#start19").find("option:selected").text();	
				c2 = $("#end19").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl27_lblPrice").text();
				var y2 = $("#rptLevelList_ctl27_lblTime").text();
				var g2 = $("#rptLevelList_ctl27_lblGold").text();
				var e ='runecrafting';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#runecrafting").attr("value",ac2);	   
						
							
			
			});
			$('#end19').change(function(){
					
				b3 = $("#start19").find("option:selected").text();	
				
				c3 = $("#end19").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl27_lblPrice").text();
				var y3 = $("#rptLevelList_ctl27_lblTime").text();
				var g3 = $("#rptLevelList_ctl27_lblGold").text();
				
				var e ='runecrafting';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			          $("#runecrafting").attr("disabled",false); 
						$("#runecrafting").attr("value",ac3);
						var data= document.getElementById('runecrafting');
					    adddata(data);		
			            $("#runecrafting").attr("checked",true);
			            $("#start19").attr("disabled",true);
						$("#end19").attr("disabled",true);
					$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						});		
				$('#start20').change(function(){
					
				b2 = $("#start20").find("option:selected").text();	
				c2 = $("#end20").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl28_lblPrice").text();
				var y2 = $("#rptLevelList_ctl28_lblTime").text();
				var g2 = $("#rptLevelList_ctl28_lblGold").text();
				var e ='slayer';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#slayer").attr("value",ac2);	   
					
							
			
			});
			$('#end20').change(function(){
					
				b3 = $("#start20").find("option:selected").text();	
				
				c3 = $("#end20").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl28_lblPrice").text();
				var y3 = $("#rptLevelList_ctl28_lblTime").text();
				var g3 = $("#rptLevelList_ctl28_lblGold").text();
				
			var e ='slayer';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			          $("#slayer").attr("disabled",false);
						$("#slayer").attr("value",ac3);
						var data= document.getElementById('slayer');
					    adddata(data);		
			            $("#slayer").attr("checked",true);
			            $("#start20").attr("disabled",true);
						$("#end20").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						});		
				$('#start21').change(function(){
					
				b2 = $("#start21").find("option:selected").text();	
				c2 = $("#end21").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl29_lblPrice").text();
				var y2 = $("#rptLevelList_ctl29_lblTime").text();
				var g2 = $("#rptLevelList_ctl29_lblGold").text();
				var e ='smithing';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#smithing").attr("value",ac2);	   
						
							
			
			});
			$('#end21').change(function(){
					
				b3 = $("#start21").find("option:selected").text();	
				
				c3 = $("#end21").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl29_lblPrice").text();
				var y3 = $("#rptLevelList_ctl29_lblTime").text();
				var g3 = $("#rptLevelList_ctl29_lblGold").text();
				
				var e ='smithing';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			            $("#smithing").attr("disabled",false);
						$("#smithing").attr("value",ac3);
						var data= document.getElementById('smithing');
					    adddata(data);		
			            $("#smithing").attr("checked",true);
			            $("#start21").attr("disabled",true);
						$("#end21").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						});		
				$('#start22').change(function(){
					
				b2 = $("#start22").find("option:selected").text();	
				c2 = $("#end22").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl30_lblPrice").text();
				var y2 = $("#rptLevelList_ctl30_lblTime").text();
				var g2 = $("#rptLevelList_ctl30_lblGold").text();
				var e ='summoning';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#summoning").attr("value",ac2);	   
						
			
			});
			$('#end22').change(function(){
					
				b3 = $("#start22").find("option:selected").text();	
				
				c3 = $("#end22").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl30_lblPrice").text();
				var y3 = $("#rptLevelList_ctl30_lblTime").text();
				var g3 = $("#rptLevelList_ctl30_lblGold").text();
				
				var e ='summoning';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			            $("#summoning").attr("disabled",false);
						$("#summoning").attr("value",ac3);
						//$("#end22").attr("disabled",true);
						var data= document.getElementById('summoning');
					    adddata(data);		
			            $("#summoning").attr("checked",true);
			            $("#start22").attr("disabled",true);
						$("#end22").attr("disabled",true);
					$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
					
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						});			
					$('#start23').change(function(){
					
				b2 = $("#start23").find("option:selected").text();	
				c2 = $("#end23").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl31_lblPrice").text();
				var y2 = $("#rptLevelList_ctl31_lblTime").text();
				var g2 = $("#rptLevelList_ctl31_lblGold").text();
				var e ='strength';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#strength").attr("value",ac2);	   
						
							
							
			
			});
		$('#end23').change(function(){
					
				b3 = $("#start23").find("option:selected").text();	
				
				c3 = $("#end23").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl31_lblPrice").text();
				var y3 = $("#rptLevelList_ctl31_lblTime").text();
				var g3 = $("#rptLevelList_ctl31_lblGold").text();
				
				var e ='strength';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			            $("#strength").attr("disabled",false);  
						$("#strength").attr("value",ac3);
						var data= document.getElementById('strength');
					    adddata(data);		
			            $("#strength").attr("checked",true);
			            $("#start23").attr("disabled",true);
						$("#end23").attr("disabled",true);
					$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						});		
					$('#start24').change(function(){
					
				b2 = $("#start24").find("option:selected").text();	
				c2 = $("#end24").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl32_lblPrice").text();
				var y2 = $("#rptLevelList_ctl32_lblTime").text();
				var g2 = $("#rptLevelList_ctl32_lblGold").text();
				var e ='thieving';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#thieving").attr("value",ac2);	   
						
								
							
			
			});
	$('#end24').change(function(){
					
				b3 = $("#start24").find("option:selected").text();	
				
				c3 = $("#end24").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl32_lblPrice").text();
				var y3 = $("#rptLevelList_ctl32_lblTime").text();
				var g3 = $("#rptLevelList_ctl32_lblGold").text();
				
				var e ='thieving';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			            $("#thieving").attr("disabled",false);  
						$("#thieving").attr("value",ac3);
						var data= document.getElementById('thieving');
					    adddata(data);		
			            $("#thieving").attr("checked",true);
			            $("#start24").attr("disabled",true);
						$("#end24").attr("disabled",true);
					$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						});		
					$('#start25').change(function(){
					
				b2 = $("#start25").find("option:selected").text();	
				c2 = $("#end25").find("option:selected").text();
				var s2 = $("#rptLevelList_ctl33_lblPrice").text();
				var y2 = $("#rptLevelList_ctl33_lblTime").text();
				var g2 = $("#rptLevelList_ctl33_lblGold").text();
				var e ='woodcutting';
				var ac2 = e+','+b2+','+c2+','+s2+','+y2+','+g2;
			   
						$("#woodcutting").attr("value",ac2);	   
						
																														
	});		
				$('#end25').change(function(){
					
				b3 = $("#start25").find("option:selected").text();	
				
				c3 = $("#end25").find("option:selected").text();
				var s3 = $("#rptLevelList_ctl33_lblPrice").text();
				var y3 = $("#rptLevelList_ctl33_lblTime").text();
				var g3 = $("#rptLevelList_ctl33_lblGold").text();
				
				var e ='woodcutting';
				var ac3 = e+','+b3+','+c3+','+s3+','+y3+','+g3;
			     $("#woodcutting").attr("disabled",false);  
						$("#woodcutting").attr("value",ac3);
						 var data= document.getElementById('woodcutting');
					    adddata(data);		
			            $("#woodcutting").attr("checked",true);
			            $("#start25").attr("disabled",true);
						$("#end25").attr("disabled",true);
						$('#cartcontent').html($('#cartcontent').get(0).innerHTML+'<div id="'+e+'_n"><span style="width:100px; height:25px; float:left;background-image:url(\'images/gwc_x.png\');background-repeat:no-repeat;background-position:5px 4px;padding-left:25px; ">'+e+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+b3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:60px;">'+c3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:47px;">'+s3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:28px;">'+y3+'</span><span style="width:30px; height:25px; float:left; text-align:center; margin-left:20px;">'+g3+'</span><span style="width:30px; height:25px; float:left; text-align:center;"><img  id="'+e+'_close"src="images/closedh_pl.png" style="margin-top:7px; float:right;cursor:pointer; " onclick ="delcontent(this);" /></span></div>');
						
						$('#tipcontent').html('1 product has been added into your shopping cart.');
						$("#carttip").slideDown("slow");
						setTimeout(function(){closeTopAD();},3000);
						
						
						});										
			});
			
})(jQuery);
