function goPage(script)
{
    document.location.href = script;
}

function flash(w,h,u)
{
    var flash_tag = "";
    flash_tag = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
    flash_tag +='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" ';
    flash_tag +='WIDTH="'+w+'" HEIGHT="'+h+'" >';
    flash_tag +='<param name="movie" value="'+u+'">';
    flash_tag +='<param name="quality" value="high">';
    flash_tag +='<param name="wmode" value="transparent">';
    flash_tag +='<embed src="'+u+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
    flash_tag +='type="application/x-shockwave-flash"  WIDTH="'+w+'" HEIGHT="'+h+'"></embed></object>'
    document.write(flash_tag);
}

var service={
        popupSend:function(){
                var w=popWin.popupWin('popSend.php','message',640,900,'statusbar=1');
                w.focus();
        }
}; // end of namespace 'message'


var popWin={
        popupWin:function(u,n,w,h,o){
                if(o==null||o=='')o='toolbar=no,status=no,menubar=no,location=no,scrollbars=auto,resizable=no,status=no';
                return window.open(u,n,o+',height='+h+',width='+w+',left='+((screen.width-w)/2)+',top='+((screen.height-h)/2));
        }
        ,writeHtml:function(h){document.write(h);}
};

// IE Flicker BugÀ§ÇÑ Hack
(function(){/*Use Object Detection to detect IE6*/var m=document.uniqueID/*IE*/&&document.compatMode/*>=IE6*/&&!window.XMLHttpRequest/*<=IE6*/&&document.execCommand;try{if(!!m){m('BackgroundImageCache',false,true) /* = IE6 only */}}catch(oh){};})();

