// JavaScript Document

function countMyBtnClickMemoGeni() {
    // Check to see if the counter has been initialized
    if ( typeof countMyBtnClickMemoGeni.counter == "undefined" ) {
        countMyBtnClickMemoGeni.counter = 0;
		//alert('First click ' + countMyBtnClick.counter);
		window.parent.tb_remove();
    }else{
		++countMyBtnClickMemoGeni.counter
		//alert('Second click and above ' + ++countMyBtnClick.counter);
		window.location.href = "http://hjerneklubben.no/Hjem/Hjem/tabid/37/Default.aspx#App_MemoGeni";
    }
}

function countMyBtnClickIQTrener() {
    // Check to see if the counter has been initialized
    if ( typeof countMyBtnClickIQTrener.counter == "undefined" ) {
        countMyBtnClickIQTrener.counter = 0;
		//alert('First click ' + countMyBtnClick.counter);
		window.parent.tb_remove();
    }else{
		++countMyBtnClickIQTrener.counter
		//alert('Second click and above ' + ++countMyBtnClick.counter);
		window.location.href = "http://hjerneklubben.no/Hjem/Hjem/tabid/37/Default.aspx#App_IQTrener";
    }
}

function countMyBtnClickMemoFokus() {
    // Check to see if the counter has been initialized
    if ( typeof countMyBtnClickMemoFokus.counter == "undefined" ) {
        countMyBtnClickMemoFokus.counter = 0;
		//alert('First click ' + countMyBtnClick.counter);
		window.parent.tb_remove();
    }else{
		++countMyBtnClickMemoFokus.counter
		//alert('Second click and above ' + ++countMyBtnClick.counter);
		window.location.href = "http://hjerneklubben.no/Hjem/Hjem/tabid/37/Default.aspx#App_MemoFokus";
    }
}

function countMyBtnClickTallGeni() {
    // Check to see if the counter has been initialized
    if ( typeof countMyBtnClickTallGeni.counter == "undefined" ) {
        countMyBtnClickTallGeni.counter = 0;
		//alert('First click ' + countMyBtnClick.counter);
		window.parent.tb_remove();
    }else{
		++countMyBtnClickTallGeni.counter
		//alert('Second click and above ' + ++countMyBtnClick.counter);
		window.location.href = "http://hjerneklubben.no/Hjem/Hjem/tabid/37/Default.aspx#App_TallGeni";
    }
}

function countMyBtnClickSprakSprint() {
    // Check to see if the counter has been initialized
    if ( typeof countMyBtnClickSprakSprint.counter == "undefined" ) {
        countMyBtnClickSprakSprint.counter = 0;
		//alert('First click ' + countMyBtnClick.counter);
		window.parent.tb_remove();
    }else{
		++countMyBtnClickSprakSprint.counter
		//alert('Second click and above ' + ++countMyBtnClick.counter);
		window.location.href = "http://hjerneklubben.no/Hjem/Hjem/tabid/37/Default.aspx#App_SprakSprint";
    }
}

function countMyBtnClickGeografiMester() {
    // Check to see if the counter has been initialized
    if ( typeof countMyBtnClickGeografiMester.counter == "undefined" ) {
        countMyBtnClickGeografiMester.counter = 0;
		//alert('First click ' + countMyBtnClick.counter);
		window.parent.tb_remove();
    }else{
		++countMyBtnClickGeografiMester.counter
		//alert('Second click and above ' + ++countMyBtnClick.counter);
		window.location.href = "http://hjerneklubben.no/Hjem/Hjem/tabid/37/Default.aspx#App_GeografiMester";
    }
}

function countMyBtnClickLynkurset() {
    // Check to see if the counter has been initialized
    if ( typeof countMyBtnClickLynkurset.counter == "undefined" ) {
        countMyBtnClickLynkurset.counter = 0;
		//alert('First click ' + countMyBtnClick.counter);
		window.parent.tb_remove();
    }else{
		++countMyBtnClickLynkurset.counter
		//alert('Second click and above ' + ++countMyBtnClick.counter);
		window.location.href = "http://hjerneklubben.no/Hjem/Hjem/tabid/37/Default.aspx#App_Lynkurset";
    }
}
