// SMILEYWEB 2.0
// onload.js
// stuff to do when loading the page


// to avoid "not initialized" messages
var thispageiscomics;

function init() {
	// Hide any ProxyMessage when page is loaded
	hideLayer('proxymsg');
	
	setDefaultText('user', 'Medlemsnavn');
	setDefaultTextPass('pass', 'Adgangskode');
	
	if (sw['iemode']==1) {
		boxesAddIeBorders();
	} else {
		boxesUpdateBorder(null);
	}
	
	if (thispageiscomics) {
		preparecomments();
	}
	
}


window.onload = init;
