/*
Copyright (c) 2008 Mediasparx (http://www.mediasparx.com)
Notes: Hide and show
*/
$(function() {
    $(".hide").hide();
    $(".show").css({ cursor: "pointer" });

    $(".show").toggle(function(){
        $(this).parent().parent().parent().next(".hide").fadeIn('"slow');
    },function(){
        $(this).parent().parent().parent().next(".hide").fadeOut('"slow');
	});

    $("#pushtext").replaceWith('<p id="pushtext" class="show3"><a href="">Andre mobile enheter som er kompatible</a>.</p>');
//    $("#pushtext").replaceWith('<p class="show2">Klikk på produsenten av din mobile enhet i listen under for å finne ut hvilke andre typer som er kompatible.</p>');

    $(".hide2").hide();
    $(".show2").css({ cursor: "pointer" });

    $(".show2").toggle(function(){
        $(this).next(".hide2").fadeIn('"slow');
    },function(){
        $(this).next(".hide2").fadeOut('"slow');
	});

    $(".hide3").hide();
    $(".show3").css({ cursor: "pointer" });

    $(".show3").toggle(function(){
        $(this).next(".hide3").fadeIn('"slow');
		$("#pushtext").replaceWith('<p id="pushtext" class="show3">Klikk på produsenten av din mobile enhet i listen under for å finne ut hvilke andre typer som er kompatible.</p>');
    },function(){
        $(this).next(".hide3").fadeOut('"slow');
	});

});