function ir_change_pic(id, pic_url)
{
	var elem = document.getElementById(id);
	if (elem)
	{
		elem.src = pic_url;
	}
}

function ir_open_extlink(url)
{
	window.open(url, '', 'width=900,height=600,toolbar=yes,scrollbars=yes,resizable=yes,menubar=yes,location=yes,status=yes');
}

function ir_open_hochschule(url)
{
	var popupwin = window.open(url, 'baunetz_hochschule', 'width=745,height=620,left=100,top=200,resizable=no,status=no,scrollbars=yes');
	popupwin.focus();
}

function ir_open_diplomjurierung(url)
{
	var popupwin = window.open(url, 'baunetz_diplomjurierung', 'width=526,height=800,left=100,top=200,resizable=no,status=no,scrollbars=yes');
	popupwin.focus();
}

function ir_open_formwindow(url)
{
	var popupwin = window.open(url, '', 'width=555,height=800,left=100,top=200,resizable=no,status=no,scrollbars=yes');
	popupwin.focus();
}

function ir_open_s2f(url)
{
	var popupwin = window.open(url, 'Send2Friend', 'width=575,height=600,left=100,top=200,resizable=no,status=no,scrollbars=yes');
	popupwin.focus();
}

function ir_open_baunetzwoche(url)
{
	var popupwin = window.open(url, 'Baunetzwoche', 'width=800,height=600,left=100,top=200,resizable=no,status=no,scrollbars=yes');
	popupwin.focus();
}

function ir_open_sonderseite(url)
{
	var popupwin = window.open(url, 'Sonderseite', 'width=800,height=600,left=100,top=200,resizable=no,status=no,scrollbars=yes');
	popupwin.focus();
}

function ir_open_archprofil(url)
{
	var popupwin = window.open(url, 'ain', 'width=837,height=550,left='+((screen.width-837)/2)+'top='+((screen.height-510)/2)+',status=yes,scrollbars=yes');
}

function ir_open_kontaktwindow(url)
{
	var popupwin = window.open(url, '', 'width=800,height=600,left=100,top=200,resizable=no,status=no,scrollbars=yes');
	popupwin.focus();
}

function ir_open_kommentarregeln(url)
{
	var popupwin = window.open(url, 'baunetz_kommentarregeln', 'width=526,height=400,left=100,top=200,resizable=no,status=no,scrollbars=yes');
	popupwin.focus();
}

function ir_open_linkdef_bnextlink(url)
{
	var popupwin = window.open(url, '', 'width=1000,height=700');
	popupwin.focus();
}

function ir_open_linkdef_bntalk(url)
{
	var popupwin = window.open(url, '', 'width=950,height=950');
	popupwin.focus();
}
