jQuery(document).ready(function() {
jQuery(".subnav_ajax").ajaxContent({target:'#putin',loaderType:'img',loadingMsg:'images/indicator.gif',returning:'true'});
jQuery('#categories_container').accordion({
  header: '.title',
  selectedClass:'title_active',
  event: 'click',
  autoheight: false,
  active: false,
  animated:'firstclose',
  alwaysOpen:true});

jQuery(".ship_link").click(function(){
window.open(jQuery(this).attr('href'),'popup','toolbar=0, scrollbars=yes, resizable=yes, height=400, width=400');
return false;});
});
function first() {
if(document.getElementById)
document.getElementById("first").style.display = "block";
document.getElementById("second").style.display = "none";
document.getElementById("third").style.display = "none";
};

function second() {
if(document.getElementById)
document.getElementById("first").style.display = "none";
document.getElementById("second").style.display = "block";
document.getElementById("third").style.display = "none";
};

function third() {
if(document.getElementById)
document.getElementById("first").style.display = "none";
document.getElementById("second").style.display = "none";
document.getElementById("third").style.display = "block";
};

function bild1() {
if(document.getElementById)
$("div[id^='bild']").hide();
$("#bild1").show();
};

function bild2() {
if(document.getElementById)
$("div[id^='bild']").hide();
$("#bild2").show();
};

function bild3() {
if(document.getElementById)
$("div[id^='bild']").hide();
$("#bild3").show();
};

function bild4() {
if(document.getElementById)
$("div[id^='bild']").hide();
$("#bild4").show();
};

function bild5() {
if(document.getElementById)
$("div[id^='bild']").hide();
$("#bild5").show();
};

function bild6() {
if(document.getElementById)
$("div[id^='bild']").hide();
$("#bild6").show();
};
function CreateBookmarkLink() {
  title = "Teppichversand24"; 
  url = "http://www.teppichversand24.de"; 
  if (window.sidebar) { // Mozilla Firefox Bookmark	
  window.sidebar.addPanel(title, url,"");
  } else if( window.external ) { // IE Favorite
  window.external.AddFavorite( url, title);
  }	else { 
      alert("Diese Funktion wird leider von ihrem Browser nicht unterstützt");}
  };
