abLoadOnlyOnce=false;

function getContentFrame(ifrm) {
	if (ifrm.contentDocument) { // NS6
    	return ifrm.contentDocument; 
  	} else if (ifrm.contentWindow) { // IE5.5 and IE6
    	return ifrm.contentWindow.document;
  	} else if (ifrm.document) { // IE5
    	return ifrm.document;
  	}
	return NULL;
}

function pvDoLoad(ifrm) {
	if(!abLoadOnlyOnce) {
		abLoadOnlyOnce=true;
		printPreviewTo(getContentFrame(ifrm));
		pvResize(ifrm);
	}
}

function pvResize(ifrm) {
	pvFixTableWidth(ifrm);
	pvFixFrameHeight(ifrm);
	setTimeout('pvResize(document.getElementById("pvIfrm"))', 500);
}

function pvFixTableWidth(ifrm) {
	doc = getContentFrame(ifrm);
	tbl = doc.getElementById('abPreviewTbl');
	if(tbl) {
		w = ifrm.offsetWidth;
		tbl.width = w;
	}
}

function pvFixFrameHeight(ifrm) {
	doc = getContentFrame(ifrm);
	tbl = doc.getElementById('abPreviewTbl');
	if(tbl) {
		h = tbl.offsetHeight;
		ifrm.height = h;
	}
}

function printPreviewTo(doc) {
doc.writeln('<ht'+'ml><bo'+'dy>');
doc.writeln('<link rel="stylesheet" href="http://www.activeboard.com/templates/default.spark?aBID=113383&60517d56c6701d73b846711f66a29c85" type="text/css">\n<table class="forumline borderline"  id="abPreviewTbl" width="100%" cellpadding="0" cellspacing="0"><tr><TH class="thCornerL">Topic<'+'/TH><TH class="thCornerR">Forum<'+'/TH><TH class="thCornerR">Replies<'+'/TH><TH class="thTop">Views<'+'/TH><'+'/TR><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=22820114">\nLuang Prabang girls join Miss Aponelao 2008 !<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>1<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>508<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=29245380">\nMeeting to mark 100th birth anniversary of late President Souphanouvong<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>1<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>140<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=27516146">\nBusiness in Laos<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>7<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>161<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=14171915">\nBoun Lai Hua Fai<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>9<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>738<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=14114318">\nZaap Zaap, Mieng Padek in Luang Prabang.<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=398619&p=2">Food<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>2<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>209<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=27086871">\nPhotos of Nang Sangkane 2552<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>1<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>1669<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=26989822">\nA economics student crowned Nang Sangkane 2552<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>0<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>636<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=26924437">\nGood bye Miss Sangkane 2008<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>0<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>305<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=26111034">\nLao traditional calendar 2552<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>0<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>315<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=25799105">\nwow power leveling<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>0<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>70<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=15514707">\nA taste of Luang Prabang in Bangkok. <'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=398619&p=2">Food<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>1<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>381<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=13809756">\nHow to post pics in this webboard ?<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>5<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>816<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=23279597">\nຂາຍເພັງ + ໂປຣແກຣມ ຄາຣາໂອເກະ + 9 ພັນກວ່າເພັງ<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>0<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>167<'+'/span><'+'/td><'+'/tr><TR><TD class="row1 borderline topicRow"><a class="topictitle" style="font-weight: normal;" target="_top" href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&p=3&topicID=14472201">\nThe movie &quot; Sabaidee Luang Prabang &quot; start filming<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:105px;text-align:left;"><a class=genmed target=_top href="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383&subForumID=384456&p=2">LPB2D<'+'/a><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>2<'+'/span><'+'/td><TD class="row1 borderline topicRow" style="width:40px;text-align:center;"><span class=postdetails>1730<'+'/span><'+'/td><'+'/tr><TR><TD ALIGN=RIGHT COLSPAN=4 CLASS="row3"><span class="gensmall row3gensmall">Get your own free webforum: <a href="http://www.activeboard.com" target=_new style="text-decoration: none"><span class="gensmall row3gensmall">www.activeboard.com<'+'/span><'+'/a> - <'+'/span><span class="gensmall row3gensmall"> <A HREF="http://luangprabang2day.activeboard.com/forum.spark?aBID=113383" TARGET=_top style="text-decoration: none"><span class="gensmall row3gensmall">More Posts<'+'/span><'+'/span><'+'/a><'+'/TD><'+'/TR><'+'/TABLE>');
doc.writeln('</bo'+'dy></ht'+'ml>');
doc.close();
}

document.writeln('\
<iframe scrolling=no frameborder=0 marginwidth=0 marginheight=0 width="90%" height=250 ID=pvIfrm\
	onResize="pvResize(this)"\
	src=""\
></iframe>');

document.writeln('<scr'+'ipt>\nsetTimeout(\'pvDoLoad(document.getElementById("pvIfrm"))\', 40);\n</scr'+'ipt>');
document.writeln('<scr'+'ipt>\nsetTimeout(\'pvResize(document.getElementById("pvIfrm"))\', 100);\n</scr'+'ipt>');