function partners(){
	var airline = document.searchform.airline.value;
	var tripType = document.searchform.trip_Type.value;
	var origin = document.searchform.origin.value;
	var departureDay = document.searchform.departureDay.value;
	var departureMonthYear = document.searchform.departureMonthYear.value;
	var destination = document.searchform.destination.value;
	if (destination_info == '') {
		var destination_info = document.searchform.destination.value;
	} else{
		var destination_info = document.searchform.destination_info.value;	
	}
	var returnDay = document.searchform.returnDay.value;
	var returnMonthYear = document.searchform.returnMonthYear.value;
	var adultCount = document.searchform.adultCount.value;
	var childCount = document.searchform.childCount.value;
	var infantCount = document.searchform.infantCount.value;
	var serviceClass = document.searchform.serviceClass.value;
	var trawwwel = 'http://www.trawwwel.de/buchung.php?from='+origin+'&Day='+departureDay+'&month_1='+departureMonthYear+'&to='+destination+'&RetDay='+returnDay+'&month_2='+returnMonthYear+'&onewayswitch=0&tarif_klasse='+serviceClass+'&pax='+adultCount+'&pax_chd='+childCount+'&pax_inf='+infantCount+'&airline='+airline+'&re_enter=';
	var skybooker = 'http://www.skybooker.de/buchung.php?airline='+airline+'&tripType='+tripType+'&origin='+origin+'&departureDay='+departureDay+'&departureMonthYear='+departureMonthYear+'&departureTime=&returnDay='+returnDay+'&returnMonthYear='+returnMonthYear+'&returnTime=&destination='+destination+'&adultCount='+adultCount+'&childCount='+childCount+'&infantCount='+infantCount+'&serviceClass='+serviceClass;

var r=0; //wieviele checkboxen angeklickt
var i1=0, i2=0, i3=0, i4=0, i5=0;
if(document.getElementById('trawwwel').checked) { r++; i2=(i2+r) }
if(document.getElementById('skybooker').checked) { r++; i3=(i3+r) }
var einzelbreite = (screen.width/r);

	if(document.getElementById('trawwwel').checked) {window.open(trawwwel,'trawwwel','top=0, left='+((einzelbreite*i2)-einzelbreite)+', height='+(screen.height-50)+', width='+(einzelbreite-50)+', status=yes, menubar=yes, resizable=yes, scrollbars=yes, toolbar=no, location=no, directories=no');blur();}
	if(document.getElementById('skybooker').checked) {window.open(skybooker,'skybooker','top=0, left='+((einzelbreite*i3)-einzelbreite+50)+', height='+(screen.height-50)+', width='+(einzelbreite-18)+', status=yes, menubar=yes, resizable=yes, scrollbars=yes, toolbar=no, location=no, directories=no');blur();}

}
