function ajaxFunction(lp,ld,pl,vw,hd,ur,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z) { var xmlHttp; try { // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e) { // Internet Explorer try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { alert("Your browser does not support AJAX!"); return false; } } } xmlHttp.onreadystatechange=function() { if(xmlHttp.readyState<4) { document.getElementById(pl).innerHTML=document.getElementById(ld).innerHTML; } if(xmlHttp.readyState==4) { document.getElementById(pl).innerHTML=xmlHttp.responseText; } if(xmlHttp.readyState==4 && xmlHttp.responseText=='') { document.getElementById(pl).innerHTML=document.getElementById('error').innerHTML; } } var url=ur+"?p1="+a+"&p2="+b+"&p3="+c+"&p4="+d+"&p5="+e+"&p6="+f+"&p7="+g+"&p8="+h+"&p9="+i+"&p10="+j+"&p11="+k+"&p12="+l+"&p13="+m+"&p14="+n+"&p15="+o+"&p16="+p+"&p17="+q+"&p18="+r+"&p19="+s+"&p20="+t+"&p21="+u+"&p22="+v+"&p23="+w+"&p24="+x+"&p25="+y+"&p26="+z+"&view="+vw; xmlHttp.open("GET",url,true); xmlHttp.send(null); }