<!--
var selected;
var submitter = null;
var current_image=0;
function showTeaser (area,area2)  {
	document.getElementById(area).style.visibility = 'visible' ;
	//document.getElementById(area2).style.visibility='hidden';
}
function hideTeaser (area,area_default)   {
	document.getElementById(area).style.visibility='hidden';
	document.getElementById(area_default).style.visibility='visible';
}
function switch_userbilder(current_image_init,goto_direction,count_userbilder)  {
	if(current_image==0)  {
		current_image=current_image_init;
	}
	if(current_image==count_userbilder)  {
		next_image=1;
	}
	else  {
		next_image=current_image+1;
	}
	if(current_image==1)  {
		last_image=count_userbilder;
	}
	else  {
		last_image=current_image-1;
	}
		current_image_new=goto_direction=='last'?last_image:next_image;
		current_image=current_image_new;
		path_userbilder='/templates/fb/img/user_'+current_image_new+'.jpg';
		document.getElementById("userbilder").style.backgroundImage="url("+path_userbilder+")";
}
function submitFunction() {
    submitter = 1;
}
function popupProductImage(url) {
	pop_width=390;
	pop_height=490;
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=yes,copyhistory=no,width='+ pop_width +',height='+ pop_height +',screenX=150,screenY=150,top=150,left=150')
}
function popupWindow(url,pop_width,pop_height) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=yes,copyhistory=no,width='+ pop_width +',height='+ pop_height +',screenX=150,screenY=150,top=150,left=150')
}
function selectRowEffect(object, buttonSelect) {
  if (!selected) {
    if (document.getElementById) {
      selected = document.getElementById('defaultSelected');
    } else {
      selected = document.all['defaultSelected'];
    }
  }
if (selected) selected.className = 'moduleRow';
object.className = 'moduleRowSelected';
selected = object;
if (document.getElementById('payment'[0])) {
  document.getElementById('payment'[buttonSelect]).checked=true;
} else {
  document.getElementById('payment'[selected]).checked=true;
}
}
function rowOverEffect(object) {
  if (object.className == 'moduleRow') object.className = 'moduleRowOver';
}
function rowOutEffect(object) {
  if (object.className == 'moduleRowOver') object.className = 'moduleRow';
}
function popupImageWindow(url) {
  window.open(url,'popupImageWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}
function get_price_note(price_note)  {
  document.write(price_note)
}
//-->
