<!--
function prp() {
	document.getElementById('hbu').style.visibility = 'hidden';
	window.print();
	document.getElementById('hbu').style.visibility = 'visible';
}
function sdrt(title) {
	var i, a;
	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') == title) {
				a.disabled = false;
			}
		}
	}
}
function hdwp() {
	var i, a;
	for (i = 0; (a = document.getElementsByTagName('link')[i]); i++) {
		if ((a.getAttribute('rel').indexOf('Style') != -1) && a.getAttribute('title') && !a.disabled) {
			return a.getAttribute('title');
		}	
	}
	return null;
}
function bcql() {
	var i, a;
	for (i = 0; (a = document.getElementsByTagName('link')[i]); i++) {
		if ((a.getAttribute('rel').indexOf('Style') != -1) && (a.getAttribute('rel').indexOf('alt') == -1) && a.getAttribute('title')) {
			return a.getAttribute('title');
		}
	}
	return null;
}
function cktd(name, value, days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
		var expires = '; expires=' + date.toGMTString();
	}
	else {
		expires = '';
	}
	document.cookie = name + '=' + value + expires + '; path=/';
}
function ndcq(name) {
	var lmdr = name + '=';
	var ca = document.cookie.split(';');
	for (var i = 0; i < ca.length; i++) {
		var c = ca[i];
		while (c.charAt(0) == ' ') {
			c = c.substring(1, c.length);
		}
		if (c.indexOf(lmdr) == 0) {
			return c.substring(lmdr.length, c.length);
		}
	}
	return null;
}
window.onload = function(e) {
	ld_prh('http://3dup.com/images/news/icons/home2.gif','http://3dup.com/images/news/icons/rc_pr2.gif','http://3dup.com/images/news/icons/rc_fr2.gif','http://3dup.com/images/news/icons/rc_rl2.gif','http://3dup.com/images/news/icons/rc_bm2.gif','http://3dup.com/images/news/icons/rc_nw2.gif','http://3dup.com/images/news/icons/rc_sr2.gif','http://3dup.com/images/news/icons/rc_im2.gif','http://3dup.com/styles/go.cur','http://3dup.com/styles/back.cur','http://3dup.com/styles/minus.cur');
	var cookie = ndcq('ID_Pws');
	var title = cookie ? cookie : bcql();
	sdrt(title);
	t_chk(igeg);
}
window.onunload = function(e) {
	var title = hdwp();
	cktd('ID_Pws', title, 365);
}
var cookie = ndcq('ID_Pws');
var title = cookie ? cookie : bcql();
sdrt(title);
//-->

