var imgCache = new Array();

function preloadimages() {
	for (i = 0; i < preloadimages.arguments.length; i++) {
		imgCache[i] = new Image();
		imgCache[i].src = preloadimages.arguments[i];
		imgCache[i].src = imgCache[i].src.concat("/img/", preloadimages.arguments[i]);
		//alert(imgCache[i].src);
		//document.write(imgCache[i].src);
	}
}

function url() {
	//alert(document.location.href);
	document.location.href.replace(/^(.+)\/.+\.html\?(.+)/, "$1/$2.html");
	//alert(String(document.location.href).replace(/^(.+)\/.+\.html\?(.+)/, "$1/$2.html"));
	//alert(document.location.href);
}