 function submit_informations() 
 {
       var ax = new XHConn();
       var on_finish = function(bx) {
	        var div = document.getElementById('price');
	        div.innerHTML = bx.responseText;
       }
       ax.connect('http://psd-slice.com/ajax/submit.php','GET','name='+name+'&phone='+phone+'&email='+email
       +'&country='+country+'&comment='+comment+'&file='+file,on_finish);
 }
 
 function pausecomp(millis)
{
var date = new Date();
var curDate = null;

do { curDate = new Date(); }
while(curDate-date < millis);
} 
 
  function price_page(page) 
  {	
  		 var ax = new XHConn();
  	    var on_finish = function(bx) {
	    var div = document.getElementById('page');
	    div.innerHTML = bx.responseText;
       }
       ax.connect('http://psd-slice.com/ajax/price_page.php','GET','page='+page,on_finish);
     
          
   	 var ax2 = new XHConn();
   	 var on_finish2 = function(bx2) {
	        var div2 = document.getElementById('price');
	        div2.innerHTML = bx2.responseText;
	        
	        
	        
       }
       ax2.connect('http://psd-slice.com/ajax/price.php','GET','page='+page,on_finish2);
        
      // alert('a');
     pausecomp(200);
     
     for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
    
       
       
  }
  
  
  
   
  function price_day(day) 
  {        
  		 var ax = new XHConn();
	    var on_finish = function(bx) {
	    var div = document.getElementById('day');
	    div.innerHTML = bx.responseText;
       	}
       ax.connect('http://psd-slice.com/ajax/price_day.php','GET','day='+day,on_finish);
        
       
	var ax2 = new XHConn();
   	 var on_finish2 = function(bx2) {
	        var div2 = document.getElementById('price');
	        div2.innerHTML = bx2.responseText;
       }
       ax2.connect('http://psd-slice.com/ajax/price.php','GET','day='+day,on_finish2);
    
         //  alert('a');
    pausecomp(200);   
    for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
  

   
    function layout_width(op) 
   {      
   	  
   		document.getElementById('layout_widthh').innerHTML=op;
  	    var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/layout_width.php','GET','layout_width='+op,on_finish);
       
       
            
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('layout_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/layout_options.php','GET','layout_width='+op,on_finish2);
       
       
     pausecomp(200);
     for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
    
       
  }
  
  
  
  
  
      function layout_hposition(op) 
  		{        
  		 var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/layout_hposition.php','GET','layout_hposition='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('layout_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/layout_options.php','GET','layout_hposition='+op,on_finish2);
       
       
     pausecomp(200);
     for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
       
  }
  
  
  
  
  
        function hf_width(op) 
  {        
  	 	document.getElementById('hf_widthh').innerHTML=op;
  		 var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/hf_width.php','GET','hf_width='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('layout_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/layout_options.php','GET','hf_width='+op,on_finish2);
       
         pausecomp(200);
       
	     for(tt=1;tt<10;tt++)
	     {
		     var ax3 = new XHConn();
		   	 var on_finish3 = function(bx3) {
			        var div3 = document.getElementById('price_total');
			        div3.innerHTML = bx3.responseText;
			        
		       }
		       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
	     } 
  }
  
  
  function v_position(op) 
  {     
  		document.getElementById('v_positionn').innerHTML=op;   
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/v_position.php','GET','v_position='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('layout_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/layout_options.php','GET','v_position='+op,on_finish2);
       
       
           pausecomp(200);
     for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
       
  }
  
  
  
  
    function safari_c(op) 
  {     
  		 document.getElementById('safari_cc').innerHTML=op;   
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/safari_c.php','GET','safari_c='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('coding_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/coding_options.php','GET','safari_c='+op,on_finish2);
       
           pausecomp(200);
       
     for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
    
    function opera_c(op) 
  {       
  	  document.getElementById('opera_cc').innerHTML=op; 
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/opera_c.php','GET','opera_c='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('coding_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/coding_options.php','GET','opera_c='+op,on_finish2);
       
       
           pausecomp(200);
    for(tt=1;tt<10;tt++)
    {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }

  
  
  
  
  
  function font_size(op) 
  {     
  	 document.getElementById('font_sizee').innerHTML=op;   
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/font_size.php','GET','font_size='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('coding_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/coding_options.php','GET','font_size='+op,on_finish2);
       
       
           pausecomp(200);
    for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
  
  
  function drop_down(op) 
  {      
  		document.getElementById('drop_downn').innerHTML=op;  
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/drop_down.php','GET','drop_down='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('coding_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/coding_options.php','GET','drop_down='+op,on_finish2);
       
       
           pausecomp(200);
    for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
    function w3c_s(op) 
  {       
  	 document.getElementById('w3c_ss').innerHTML=op; 
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/w3c_s.php','GET','w3c_s='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('coding_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/coding_options.php','GET','w3c_s='+op,on_finish2);
       
           pausecomp(200);
       
      for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
    
  function comm1(op) 
  {     
  		document.getElementById('comm11').innerHTML=op;   
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/comm1.php','GET','comm1='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('coding_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/coding_options.php','GET','comm1='+op,on_finish2);
       
           pausecomp(200);
       
    for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
      
  function xhtml(op) 
  {     
  		  document.getElementById('xhtmll').innerHTML=op;   
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/xhtml.php','GET','xhtml='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('coding_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/coding_options.php','GET','xhtml='+op,on_finish2);
       
           pausecomp(200);
       
    for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
      
  function comm2(op) 
  {       document.getElementById('comm22').innerHTML=op;  
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/comm2.php','GET','comm2='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('coding_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/coding_options.php','GET','comm2='+op,on_finish2);
       
           pausecomp(200);
       
      for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
      
  function tabletech(op) 
  {        
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/tabletech.php','GET','tabletech='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('coding_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/coding_options.php','GET','tabletech='+op,on_finish2);
       
           pausecomp(200);
       
     for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
        
  function navigation(op) 
  {     
  	document.getElementById('navigationn').innerHTML=op;   
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/navigation.php','GET','navigation='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('advanced_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/advanced_options.php','GET','navigation='+op,on_finish2);
       
           pausecomp(200);
       
    for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
    function forms1(op) 
  {     
  		document.getElementById('forms11').innerHTML=op;   
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/forms.php','GET','forms='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('advanced_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/advanced_options.php','GET','forms='+op,on_finish2);
       
           pausecomp(200);
       
        for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
        
  }
  
    function cset(op) 
  {        
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/cset.php','GET','cset='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('advanced_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/advanced_options.php','GET','cset='+op,on_finish2);
       
           pausecomp(200);
       
     for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
    function cssemb(op) 
  {        
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/cssemb.php','GET','cssemb='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('advanced_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/advanced_options.php','GET','cssemb='+op,on_finish2);
       
           pausecomp(200);
       
     for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
    function fav(op) 
  {      
  	
  		document.getElementById('favv').innerHTML=op; 
  	
  		
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/fav.php','GET','fav='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('advanced_options');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/advanced_options.php','GET','fav='+op,on_finish2);
       
           pausecomp(200);
       
    for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     }   
  }
  
  
  
  
     function si_templates(op) 
  {        
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/si_templates.php','GET','si_templates='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('soft_implement');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/soft_implement.php','GET','si_templates='+op,on_finish2);
       
           pausecomp(200);
       
      for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
       function si_blog(op) 
  {        
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/si_blog.php','GET','si_blog='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('soft_implement');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/soft_implement.php','GET','si_blog='+op,on_finish2);
       
           pausecomp(200);
       
     for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
       function si_scarts(op) 
  {        
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/si_scarts.php','GET','si_scarts='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('soft_implement');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/soft_implement.php','GET','si_scarts='+op,on_finish2);
       
       
           pausecomp(200);
    for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
  function si_cms(op) 
  {        
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/si_cms.php','GET','si_cms='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('soft_implement');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/soft_implement.php','GET','si_cms='+op,on_finish2);
       
           pausecomp(200);
       
     for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
  function si_frameworks(op) 
  {        
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/si_frameworks.php','GET','si_frameworks='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('soft_implement');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/soft_implement.php','GET','si_frameworks='+op,on_finish2);
       
           pausecomp(200);
       
       for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
  
  function si_forums(op) 
  {        
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/si_forums.php','GET','si_forums='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('soft_implement');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/soft_implement.php','GET','si_forums='+op,on_finish2);
       
           pausecomp(200);
       
     for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
  
    function si_other(op) 
  {        
  		var ax = new XHConn();
	    var on_finish = function(bx) {
	
       	}
       ax.connect('http://psd-slice.com/ajax/si_other.php','GET','si_other='+op,on_finish);
       
       
       
        var ax2 = new XHConn();
	    var on_finish2 = function(bx2) {
	    var div2 = document.getElementById('soft_implement');
	    div2.innerHTML = bx2.responseText;
       	}
       ax2.connect('http://psd-slice.com/ajax/soft_implement.php','GET','si_other='+op,on_finish2);
       
           pausecomp(200);
       
      for(tt=1;tt<10;tt++)
     {
	     var ax3 = new XHConn();
	   	 var on_finish3 = function(bx3) {
		        var div3 = document.getElementById('price_total');
		        div3.innerHTML = bx3.responseText;
		        
	       }
	       ax3.connect('http://psd-slice.com/ajax/price_total.php','GET','',on_finish3);
     } 
  }
  
  
  
  

   
 
   
   
   function validate_form()
   {
   	var var1=document.getElementById('name').value;
   		var var2=document.getElementById('phone').value;
   			var var3=document.getElementById('email').value;
   				var var4=document.getElementById('file').value;
   			
   				
   				if(var1.length!=0 && var2.length!=0 && var3.length!=0 && var4.length!=0 && var4.lastIndexOf(".zip")!=-1)
   				{
   					if(echeck(var3)==false)
   					return false;
   					else
   					{
   					
   					return true;
   					}
   				}
   				else if(var4.length!=0 && var4.lastIndexOf(".zip")==-1) {
  					alert("Please upload only .zip extention file");
					return false;
				}
   				else
   				{
   					alert('Please complete all the mandatory fields!');
   					return false;
   				}
   }
   
   
   function validate_form2()
   {
   	var var1=document.getElementById('name').value;
   	
   			var var2=document.getElementById('email').value;
   				var var3=document.getElementById('comment').value;
   				
   				
   				
   				if(var1.length!=0 && var2.length!=0 && var3.length!=0  )
   				{
   					if(echeck(var2)==false)
   					return false;
   					else
   					{
   					
   					return true;
   					}
   				}
   				else
   				{
   					alert('Please complete all the mandatory fields!');
   					return false;
   				}
   }
   
   
   function validate_payment(op,op1,op2)
   {

   	if(op=='yes' && op1!='0'&& op2!='0')
   	{
   		return true;
   	}
   	else if(op=='no')
   	{
   		alert('You must complete the form with your informations! Please go to the first step in order to complete this informations!');
   	return false;
   	}
   	
   	else if(op1=='0')
   	{
   			alert('Please choose your basic package!');
   	return false;
   		
   	}
   		else if(op2=='0')
   	{
   			alert('Please choose your basic package!');
   	return false;
   		
   	}
   }
function echeck(str) {

		var at="@";
		var dot=".";
		var lat=str.indexOf(at);
		var lstr=str.length;
		var ldot=str.indexOf(dot);
		if (str.indexOf(at)==-1)
    {
		    alert("Invalid E-mail ID");
		    return false;
		}

		if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
		   alert("Invalid E-mail ID");
		   return false;
		}

		if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
		    alert("Invalid E-mail ID");
		    return false;
		}

		 if (str.indexOf(at,(lat+1))!=-1){
		    alert("Invalid E-mail ID");
		    return false;
		 }

		 if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
		    alert("Invalid E-mail ID");
		    return false;
		 }

		 if (str.indexOf(dot,(lat+2))==-1){
		    alert("Invalid E-mail ID");
		    return false;
		 }
		
		 if (str.indexOf(" ")!=-1){
		    alert("Invalid E-mail ID");
		    return false;
		 }

 		 return true;					
	}
	
