// open menu, content, and extras 

function headermenu(URLA,URLB,URLC) {
  window.open(URLA, 'contentfenster');
  window.open(URLB, 'menufenster');

}
function mylink(URLD) {
  window.open(URLD, '_blank');

}
function set_iframe_high(hohe,WINDOWID) {
		document.getElementById(WINDOWID).style.height=hohe+"px";
}
function set_hight(hohe) {
		document.getElementById('anamenu').style.height=hohe+"px";
}
function ekset_hight(hohe) {
		document.getElementById('ekmenu').style.height=hohe+"px";
}
function set_hightR(hohe) {
		document.getElementById('anamenuR').style.height=hohe+"px";
}
function ekset_hightR(hohe) {
		document.getElementById('ekmenuR').style.height=hohe+"px";
}
function showloading() {
		document.getElementById('Ajaxloading').style.display="";
}
function hideloading() {
		document.getElementById('Ajaxloading').style.display="none";
}


function teklifformmodel(){

if (document.getElementById('ARACMARKA').value == 99) {
	
document.getElementById('ARACMARKABSHOW').style.display="";

} else {

document.getElementById('ARACMARKABSHOW').style.display="none";

} }


function openvideo(VBEZEICHNUNG) {
var Vlink;
var VBEZEICHNUNG;

Vlink = "../fullscreen_"+VBEZEICHNUNG+".html";
VBEZEICHNUNG = " "+VBEZEICHNUNG;
GB_showCenter(VBEZEICHNUNG,Vlink,400,500);

} 

function openshadow(GTITLE,GLINK,GHOHE,GWEITE) {

GB_showCenter(GTITLE,GLINK,GHOHE,GWEITE);

} 
indikator = '<img src="bilder/indicator.gif" style="display:block;margin:200px auto">';
function teklifekleajax() {
   
    ajax.submit('tekliftaleb/aracteklif.php', 'contentfenster', $('ilanekleform'));
    document.getElementById('contentfenster').innerHTML = indikator;
}
function talepekleajax() {
    
    ajax.submit('tekliftaleb/aractalep.php', 'contentfenster', $('ilanekleform'));
    document.getElementById('contentfenster').innerHTML = indikator;
}
function aracborsaajax() {
    
    ajax.submit('module/modul_27e.php', 'contentfenster', $('borsaekleform'));
    document.getElementById('contentfenster').innerHTML = indikator;
}
function getaracbilgi() {

    ARACIDLERB = document.getElementById('ARACIDLER').value;
	ILISANB = document.getElementById('ILISAN').value;

    indikator = '<img src="bilder/indicator.gif" style="display:block;">';
    ajax.update('module/modul_27e_b.php?ILISAN='+ILISANB+'&ARACIDLER='+ARACIDLERB, 'aracbilgileri');
	document.getElementById('aracbilgileri').innerHTML = indikator;

  }
function gettalepbilgi() {

    ARACIDLERB = document.getElementById('ARACIDLER').value;
	ILISANB = document.getElementById('ILISAN').value;

    indikator = '<img src="bilder/indicator.gif" style="display:block;">';
    ajax.update('module/modul_27g.php?ILISAN='+ILISANB+'&ARACIDLER='+ARACIDLERB, 'contentfenster');
	document.getElementById('contentfenster').innerHTML = indikator;

  }
  
function ilanekleajax() {
    
    ajax.submit('module/modul_27c.php', 'contentfenster', $('ilanekleform'));
    document.getElementById('contentfenster').innerHTML = indikator;
}
function ilaneditajax() {
    
    ajax.submit('module/modul_27cedit.php', 'contentfenster', $('ilanekleform'));
    document.getElementById('contentfenster').innerHTML = indikator;
}
function getilara() {

    MARKACHANGEB = document.getElementById('MARKACHANGE').value;
	ILISANB = document.getElementById('ILISANARA').value;

    indikator = '<img src="bilder/indicator.gif" style="display:block;">';
    ajax.update('module/modul_34b.php?ILISAN='+ILISANB+'&MARKACHANGE='+MARKACHANGEB, 'aracilbilgileri');
	document.getElementById('aracilbilgileri').innerHTML = indikator;

  }
function sendara1() {
    
    ajax.submit('urun/urunara.php', 'contentfenster', $('ARAMEFORMA'));
    document.getElementById('contentfenster').innerHTML = indikator;
}
function sendara2() {
    
    ajax.submit('urun/urunara2.php', 'contentfenster', $('ARAMEFORMB'));
    document.getElementById('contentfenster').innerHTML = indikator;
}
function haritanerdeyiz(SPRACHE) {
    indikator = '<img src="bilder/indicator.gif" style="display:block;">';
    ajax.update('templates/content/extra/E03/standart/nerdeyizb.php?L='+SPRACHE, 'nerdeyizid');
    document.getElementById('nerdeyizid').innerHTML = indikator;
    }