var appVersion = navigator.appVersion;      // ºê¶ó¿ìÀú¹öÀü, ¿î¿µÃ¼Á¦ Á¤º¸

dim=window.screen.width+'*'+window.screen.height+'('+window.screen.colorDepth+'Bit)';

var ref = ''; 

if( dim == '' || dim == 'undefined') dim = 'UNKNOWN';


eval("try{ ref = parent.parent.parent.document.referrer;}catch(_e){ try{ ref = parent.parent.document.referrer;}catch(_e){ try{ ref = parent.document.referrer;}catch(_e){ try{ ref = document.referrer;}catch(_e){ ref='';}}}}"); 

if(ref.charAt(ref.length)=='/') ref=ref.substring(0,ref.length-1);
if(ref.indexOf('://')) ref=ref.substring(ref.indexOf('://')+3,ref.length);


if((ref=='undefined')||( ref == '' )) ref = 'BookMark' ;


arg = "&ref=" + escape(escape(ref)) + "&dim=" + escape(dim);
 count1 = '<iframe width=' + x + ' height=' + y + ' src=http://freecount.net/counter/count.php?cid=' + cid;
 cvalue = count1 + arg;
 count2 = ' border=0 scrolling=no frameborder=0></iframe>';

if(cid == '29754' || cid == '29788' || cid == '29796' ||  cid=='29787'){
document.writeln('counter stop');
}else{
document.writeln(cvalue + count2);
}


