//if (window==top) {
//	if(window.location.pathname) parent.top.location.replace('http://www.recordmania.co.kr/?'+window.location.pathname+window.location.search)
//	else parent.top.location.replace('http://www.recordmania.co.kr')
//}

//À©µµ¿ì°¡ ¹Û¿¡ Á¸ÀçÇÏ¸é ³»ºÎ·Î ÁøÀÔ½ÃÅ°±â test
if(window==top) {
	var html = "";
	html += "<html>";
	html += "<head><title></title></head>";
	html += "<frameset frameborder='0'>";
	html += "<frame src='"+window.location.href+"' scrolling='yes' marginwidth='0' marginheight='5' name='RECORDMANIABODY'>";
	html += "<noframes>";
	html += "<body bgcolor='white' text='black' link='blue' vlink='purple' alink='red'>";
	
	//document.write(html);
}

if (location.host != 'www.recordmania.co.kr') {
	if(window.location.pathname) self.location.replace('http://www.recordmania.co.kr'+window.location.pathname+window.location.search)
	else self.location.replace('http://www.recordmania.co.kr')
}

function setnoCopy() {
	/* º¹»ç ¹æÁö ºÎºÐ*/
	if(document.body) {
		document.body.oncopy=new Function("return false")
		document.body.ondrag=new Function("return false")
		document.body.oncontextmenu=new Function("return false")
		document.body.onrclick=new Function("return false")
	}
}
setInterval("setnoCopy()",50);
