function createContent() {
	var errMsg = "";
	var baseUrl = "http://mylivescore.no/ws/ws.php?";
	var params = "pid=" + pid;
		params += "&tid=" + tid;
		params += "&style=" + style;
                params += "&antall=" + antall;
	
	var remoteUrl = baseUrl + params;

	/*
	 * Define default variables
	 */
	if (window['mlsborder'] == undefined) {
		window['mlsborder'] = 0;
	}
	if (window['mlsscroll'] == undefined) {
		window['mlsscroll'] = "no";
	}
	if (window['pid'] == undefined) {
		window['pid'] = 0;
	}
	if (window['tid'] == undefined) {
		window['tid'] = 0;
	}
	if (window['style'] == undefined) {
		window['style'] = 0;
	}
	if (window['antall'] == undefined) {
		window['antall'] = 0;
	}
	if (window['mlsw'] == undefined) {
		window['mlsw'] = 100;
	}
	if (window['mlsh'] == undefined) {
		window['mlsh'] = 100;
	}
	/*
	 * Create content iframe
	 */
    var txt = "<iframe src=" + remoteUrl;
    txt += " width=" + mlsw;
    txt += " height=" + mlsh;
    txt += " frameborder=" + mlsborder;
    txt += " scrolling='" + mlsscroll + "'";
    txt += "></iframe>";
	
	document.write(txt);
	//document.write(errMsg);
}

createContent();
