
var ScreenWidth;
var cText = '';

ScreenWidth = screen.availWidth;

// Scherm layout aanpassen op dat van het scherm
if (ScreenWidth >= 1024) {
	//self.location.href = 'testg.html'

	cText += '<!-- header 1024 -->'
	cText += '<table ID="header" cellspacing="0" cellpadding="0" border="0" width="995px" background="http://www.tourdefrance.nl/images/main/tourdefrance-headerg-2009.jpg">'
	cText += '<tr>'
	cText += '	<td align="right" height="99px" width="1005px"><iframe src="http://www.tourdefrance.nl/main/banners-1024.html" width="468px" height="60px" FRAMEBORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no"></iframe></td>'
	cText += '	<td width="12px"></td>'
	cText += '</tr>'
	cText += '</table>'
} else {
	//self.location.href = 'testk.html'

	cText += '<!-- header 800 -->'
	cText += '<table ID="header" cellspacing="0" cellpadding="0" border="0" width="769px" background="http://www.tourdefrance.nl/images/main/tourdefrance-headerk-2009.jpg">'
	cText += '<tr>'
	cText += '	<td align="right" height="83px" width="769px"><iframe src="http://www.tourdefrance.nl/main/banners-800.html" width="234px" height="60px" FRAMEBORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no"></iframe></td>'
	cText += '	<td width="22px"></td>'
	cText += '</tr>'
	cText += '</table>'
}

document.write(cText)