<!-- BEGIN #

// pubwatch: 1 (transmit), 0 (receive)
// uid = Soul ID
function videoStream(pubwatch, hostid, uid) {
    document.write('<frameset cols="240,0">')
    document.write('<frame name="cam" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" noresize>')
    document.write('<frame name="tag" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" noresize>')
    document.write('</frameset>')
    if (pubwatch == 1) {
	parent.cam.location.href='http://voiprakyat.or.id/habahaba/tx/'+hostid+'-'+uid
	// parent.tag.document.write('<p style="padding-left: 10px"><b>publish:</b> <i>'+uid+'</i></p>')
    } else {
	parent.cam.location.href='http://voiprakyat.or.id/habahaba/rx/'+hostid+'-'+uid
	// parent.tag.document.write('<p style="padding-left: 10px"><b>watch:</b> <i>'+uid+'</i></p>')
    }
}

function windowPopup(page) {
    window.open(page,'','status=0,location=0,menubar=0,resizable=0,scrollbars=0,height=192,width=240')
}

// END -->

