function pfReset(code) {

	var a = document.getElementById('switch_platform');
	var b = document.getElementById('switch_platform_d');
	if (a && b) {
		a.selectedIndex = b.value
	}

//	a = document.getElementById('search_scope');
//	b = document.getElementById('search_scope_d');
//	if (a && b) {
//		a.selectedIndex = b.value
//	}

}

function sws(w) {
	window.status = w;
	return true;
}

function cws() {
	window.status='';
}


function sfs(x,y) {
	var i, a, main;
	for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
		if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
			a.disabled = true;
			if(a.getAttribute("title") == "size"+x) {
				a.disabled = false;
				setCookie('tucows_fs',x,365);
				if (y) {
//					rlp();
				}
			}
		}
	}
}

function rlp() {
	var ol = window.onload.toString();
	var lines = ol.split("\n");
	if (lines.length) {
		for (var i=0; i<lines.length; i++) {
			if (lines[i].indexOf("equalize") != -1 ) {
				lines[i].eval();
			}
		}
	}
}


