Convert URL parameters into variables  /* extracts querystring and converts every paramter into a global variable */ result = ""; query = window.location.search; if (query != "") { query = query.substring(1, query.length); // cut off ? while (query.indexOf("&") != -1) { var temp = query.substring(0, query.indexOf("&")); // cut off all up to the & query = query.substring(query.indexOf("&")+1, query.length); // cut off all after the & var name = temp.substring(0, temp.indexOf("=")); var value = temp.substring(temp.indexOf("=")+1, temp.length); eval(name + " = '" + value + "'"); // convert param into variable if (value == value.match(/[0-9]+/)) {eval(name + "-= 0");} //if value only consists numbers cast to integer //alert(name + " = '" + value + "'"); } var name = query.substring(0, query.indexOf("=")); var value = query.substring(query.indexOf("=")+1, query.length); eval(name + " = '" + value + "'"); // convert param into variable if (value == value.match(/[0-9]+/)) {eval(name + "-= 0");} //if value only consists numbers cast to integer //alert(name + " = '" + value + "'"); }  Resize Element  language="javascript" onload="return window_onload()" onresize="return window_onload()" // put this code in the script elements function window_onload() { // this function resizes elements using absolute offsets from the current // document width for example text box could be always 10 - pixels less then // the width of the doc var len = document.body.clientWidth - 10 document.all("***element's id***")..style.width = len; // *** add more elements *** return 0; }