/*
-------------------------------------------------------------------------------------
gesammelte allgemeine JS Funktionen



-------------------------------------------------------------------------------------
*/
/* create ext Window   (Buchngspartner) */
function crXWin(file,name) {
//create window (input , name_of_window)

	var NewWin=window.open(file,name,'width=1024,height=800,scrollbars=yes,toolbar=yes,location=no,directories=no,menubar=no,resizable');

	NewWin.location.href=file;

	NewWin.focus();

}

/* create  Window   (Hausanzeige) */
function crHWin(id) {
var url;
url="http://www.vejers.com/partner/dsplhus.asp?CMD=s&LANG=g&ID=";
url=url+id;
url=url+"&BOOK=d&SUB=s";
	var HWin=window.open(url,'Ferienhaus','width=640,height=600,scrollbars=yes,toolbar=yes,location=no,directories=no,menubar=no,resizable');

	HWin.location.href=url;

	HWin.focus();

}
/* launch spreadshop */
function goshop1() {
//create window (input , name_of_window)
var myurl="http://6023.spreadshirt.net";
	var NewWin=window.open(myurl,'daninfo.shop','width=900,height=750,scrollbars=yes,toolbar=yes,location=no,directories=no,menubar=no,resizable');

	NewWin.location.href=myurl;

	NewWin.focus();

}

/* launch hausfinder*/
function gofinder() {
//create window (input , name_of_window)
var myurl="http://www.daninfo.de/daninfo/tool/rqinf.htm";
	var NewWin=window.open(myurl,'Hausfinder','width=700,height=600,scrollbars=yes,toolbar=no,location=no,directories=no,menubar=no,resizable');

	NewWin.location.href=myurl;

	NewWin.focus();

}

/* launch last_minute (vejers) */
function golami() {
//create window (input , name_of_window)
var myurl="http://www.daninfo.de/daninfo/lami/lm_listw.php";
	var NewWin=window.open(myurl,'Angebote','width=900,height=720,scrollbars=yes,toolbar=no,location=no,directories=no,menubar=no,resizable');

	NewWin.location.href=myurl;

	NewWin.focus();

}



