document.domain = "nttgame.com"; var parts = location.hostname.split('.'); var subdomain = parts.shift(); var upperleveldomain = parts.join('.'); var sndleveldomain = parts.slice(-2).join('.'); var _imgurls = "//image.nttgame.com/portal/assets/images/common/gnbsite2"; var globalNavBar = ''; //get game name var pathname = window.location.pathname.split("/"); var palyfree = "ÜCRETSİZ KNIGHT ONLINE OYNA"; if (pathname == 'knight' || pathname == 'knight2') { palyfree = "ÜCRETSİZ KNIGHT ONLINE OYNA"; } //HEADER globalNavBar += ''; globalNavBar += ''; globalNavBar += ''; globalNavBar += ''; globalNavBar += ''; globalNavBar += ''; //globalNavBar += ''; globalNavBar += ''; globalNavBar += ''; globalNavBar += ''; globalNavBar += ''; globalNavBar += ''; globalNavBar += ''; globalNavBar += ''; globalNavBar += ''; //GLOBAL NAVIGATION BAR globalNavBar += ' '; //LOGIN FORM globalNavBar += '
'; globalNavBar += '
'; globalNavBar += ' '; globalNavBar += ' '; //REGISTER FORM globalNavBar += ' '; globalNavBar += '
'; globalNavBar += '
'; //PRINT OUT document.write(globalNavBar); $(document).ready(function(){ Signin._captcahreload2('captchaframe0'); $("#btn-client-download").on('click', function(){ var gourl = $("#open-gnb-clientdownload").data("href"); location.href=gourl; }); });