/* Set the width of the side navigation to 0 */
$(".spr_blok > *").click(function(){
var thisis = $(this);
var thisis_index = thisis.index();
$(".spr_blok > *").removeClass("active");
thisis.addClass("active");
$(".spr_price_blok > *").removeClass("active");
$(".spr_price_blok > *").eq(thisis_index).addClass("active");
})
$(".spr_price_blok > * > *").click(function(){
$(this).parent().find("> *").removeClass("active");
$(this).addClass("active");
});
$(document).ready(function(){
$('input:radio[name="optradio"]').filter('[value="offer"]').attr('checked', true);
$('input:radio[name="offer"]').filter('[value="473"]').attr('checked', true);
$('input:radio[name="offer2"]').filter('[value="380"]').attr('checked', true);
$('input:radio[name="offer3"]').filter('[value="384"]').attr('checked', true);
});
function goto(){
window.location.href="index.php?set=&force="+$("#currency").val()+"#myForm";
}