﻿//title
function ugc(){
    window.open("http://www.ultimategamecard.com/retailers.php", "_blank");
}
function home() {
    location.href = "/main/";
}

function news() {
    location.href = "/news/announce.aspx";
}

function archive() {
    location.href = "/archive/book_01.aspx";
}

function media() {
    location.href = "/media/m_movies.aspx";
}

function clans() {
    location.href = "/archive/clan_dragon.aspx";
}

function forum() {
    top.location.href = "http://forum.karahanonlineworld.com";
}

function signup() {
    location.href = "/account/acct_signup01.aspx";
}

function l_1(){
}

function l_2(){
    location.href = "/pvp/pvp_1.aspx";
}

function l_3(){
    OpenRanking();
}

function l_4(){
	window.open("http://support.karahanonlineworld.com", "_blank");
}

function r_1(){
	location.href = "http://forum.karahanonlineworld.com/viewtopic.php?f=2&t=2084";
}

function r_2(){
    location.href = "/item/item_a.aspx";
}

function r_3(){
	location.href = "http://www.karahanonlineworld.com/news/announce.aspx#9";
}

function r_4(){
    layerPop(0);
}

function r_5(){
    layerPop(1);
}

function r_6(){
    location.href = "/pvp/pvp_1.aspx";
}

/*
function r_1() {
    //location.href = "/media/m_artwork.aspx?tm=1";
    layerPop(0);
}

function r_2() {
    //location.href = "/media/m_artwork.aspx?tm=2";
    layerPop(1);
}

function r_3() {
    //location.href = "/media/m_artwork.aspx?tm=3";
    layerPop(2);
}

function r_4() {
    location.href = "/media/m_artwork.aspx?tm=4";
}

function r_5() {
    location.href = "/media/m_artwork.aspx?tm=5";
}

function r_6() {
    location.href = "/media/m_artwork2.aspx?tm=6";
}

function r_7() {
    location.href = "/media/m_artwork2.aspx?tm=8";
}

function r_8() {
    location.href = "/media/m_artwork2.aspx?tm=9";
}


function l_1() {
	location.href = "http://forum.karahanonlineworld.com/viewtopic.php?f=2&t=2084";
}

function l_2() {
    location.href = "/item/item_a.aspx";
}
*/
//sub
function announcement() {
    location.href = "/news/announce.aspx";
}

function updates() {
    location.href = "/news/update.aspx";
}

function events() {

}

function press() {
    location.href = "/news/press.aspx";
}

function background() {
    location.href = "/archive/book_01.aspx";
}

function feature() {
    location.href = "/archive/features_overview.aspx";
}

function movies() {
    location.href = "/media/m_movies.aspx";
}

function artwork() {
    location.href = "/media/m_artwork.aspx";
}

function Screenshots() {
    location.href = "/media/m_screen.aspx";
}

function dragon() {
    location.href = "/archive/clan_dragon.aspx";
}

function snake() {
    location.href = "/archive/clan_snake.aspx";
}

function tiger() {
    location.href = "/archive/clan_tiger.aspx";
}

function sky() {
    location.href = "/archive/clan_sky.aspx";
}

function guide() {
    location.href = "/guide/game_overview01.aspx";
}

function overview() {
    location.href = "/guide/game_overview01.aspx";
}

function interface() {
    location.href = "/guide/game_interface01.aspx";
}

function items() {
    location.href = "/guide/game_items01.aspx";
}

function download() {
    location.href = "/download/download.aspx";
}

function support() {
	window.open("http://support.mayngames.com", "_blank");
}


function book01(){
    location.href = "/archive/book_01.aspx";
}

function book02(){
    location.href = "/archive/book_02.aspx";
}

function book03(){
    location.href = "/archive/book_03.aspx";
}

function book04(){
    location.href = "/archive/book_04.aspx";
}

function book05(){
    location.href = "/archive/book_05.aspx";
}

function book06(){
    location.href = "/archive/book_06.aspx";
}

function book07(){
    location.href = "/archive/book_07.aspx";
}

function itemmall(){
    location.href = "/item/item_a.aspx";
}

function mov01(){
    location.href = "/media/m_movies.aspx?tm=1";
}

function mov02(){
    location.href = "/media/m_movies.aspx?tm=2";
}

function pvp(){
    location.href = "/pvp/pvp_1.aspx";
}

function billing(){
    top.location.href = "http://bill.mayngames.com";
}