function poll_get(RadioNum,pollidx) {
	var CheckNum = 0;	
	var idea = "";
	var tmp;
	for(i=0; i < RadioNum; i++) {
		if(document.poll.ex[i].checked == true) {
			CheckNum = i+1;
			tmp = i+1;
			idea = eval("document.poll.idea"+tmp+".value");
		}
	}
	if (CheckNum == 0 ) {
		alert("¡Ø ¼³¹®¿¡ Âü¿©ÇÏ·Á¸é º¸±âÁß ÇÏ³ª¸¦ ¼±ÅÃÇØ ÁÖ¼¼¿ä."); 
	}
	else {
		location.href = "/poll/poll_save.asp?idx="+pollidx+"&click_num="+CheckNum+"&idea="+idea		
	}
}
function poll_view(pollidx)
	{	
	location.href = "/poll/poll_view.asp?idx="+pollidx
	}

function checkS()
	{
		if(document.search_form.st.value.length <= 0)
		{
			alert("ºê·£µå¸®Æ÷Æ®¿¡¼­ °Ë»öÇÒ °Ë»ö¾î¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä.");
			document.search_form.st.focus();
			return false;						
		}			
	}

function getCookie(theName) {
	theName += "=";       
	theCookie = document.cookie+";";     
	start = theCookie.indexOf(theName);   

	if (start != -1) {
   		end = theCookie.indexOf(";", start);
 		return unescape(theCookie.substring(start+theName.length,end));
	}
	return false;
}
	
	
function openNotice() {

}

function popupa()
{

   var NewWin;
   NewWin = window.open("http://itunes.co.kr/ct2006/02.html","Notice",'width=400,height=559,scrollbars=no,top=25,left=30');
}  

function GetCookie(name){
    var arg = name + "=";
    var alen = arg.length;
    var clen = document.cookie.length;
    var i = 0;
    
    while(i < clen)
 {
        var j = i + alen;
        if(document.cookie.substring(i, j) == arg)
        return getCookieVal(j)
        i = document.cookie.indexOf(" ", i) + 1
        if(i == 0) break
    }
    return null
}
function getCookieVal(offset){
    var endstr = document.cookie.indexOf(";", offset)
    if(endstr == -1)
        endstr = document.cookie.length
    return unescape(document.cookie.substring(offset, endstr))
}

function expire()
{ 
 if(GetCookie("Notice") != "done"){ 
  popupOpen(); 
 } 
} 
 
function getCookie(name) { 
var Found = false 
var start, end 
var i = 0 
 
while(i <= document.cookie.length) { 
start = i 
end = start + name.length 
 
if(document.cookie.substring(start, end) == name) { 
Found = true 
break 
} 
i++ 
} 
 
if(Found == true) { 
start = end + 1 
end = document.cookie.indexOf(";", start) 
if(end < start) 
end = document.cookie.length 
return document.cookie.substring(start, end) 
} 
return "" 
} 
 
function popupp()
{

if ( getCookie("popup") !="bnbmr" )
{
window.open ("http://www.brandreport.com/seminar_pop/pop_20081106.htm", "bnbmr", "width=400,height=550,scrollbars=no,toolbar=no,top=100,left=300,noresize");
}
}

function getCookie(name)
{ 
var Found = false
var start, end 
var i = 0 

while(i <= document.cookie.length)
{ 
start = i 
end = start + name.length

if(document.cookie.substring(start, end) == name)
{ 
Found = true
break
}
i++
} 

if(Found == true)
{ 
start = end + 1 
end = document.cookie.indexOf(";", start) 
if(end < start) 
end = document.cookie.length 
return document.cookie.substring(start, end) 
} 
return "" 
} 









//½ºÅ©·Ñ¸Þ´º
self.onError=null;
currentX = currentY = 0; 
whichIt = null; 
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat() {
if(IE) { 
diffY = document.body.scrollTop; 
diffX = 0; 
}
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelTop += percent;
if(NS) document.floater.top += percent; 
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelLeft += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
} 
} 
if(NS || IE) action = window.setInterval("heartBeat()",1);



	function openwin() 
	{ 
	window.open("http://www.brandreport.com/seminar_pop/20081106_main.htm" , "popWindow" ,'left=250,top=250,toolbar=no,width=800,height=500,fullscreen=no,directories=no,status=no,scrollbars=yes,resize=no,menubar=no,location=no'); 
	} 

