/* Load Dojo library, if it hasn't already */
if (typeof dojo == "undefined") {
/* build script tag */
var script = document.createElement("script");
script.src = "/jsr-poll-portlets/js/dojo.js";
script.type= "text/javascript";
/* insert at top of portlet main */
var V_4b5b9e0fc3483f9a0986a810480210a0_main = document.getElementById("V_4b5b9e0fc3483f9a0986a810480210a0_main");
V_4b5b9e0fc3483f9a0986a810480210a0_main.insertBefore(script, V_4b5b9e0fc3483f9a0986a810480210a0_main.firstChild);
}
var djConfig = { bindEncoding: "UTF-8", isDebug: false };
function V_4b5b9e0fc3483f9a0986a810480210a0_submit() {
var bindArgs = {
encoding: "UTF-8",
url: "/portal/site/safari/template.PAGE/action.process/menuitem.3b7c7702e1de1d6befed3210480210a0/?javax.portlet.action=true&javax.portlet.tpst=4b5b9e0fc3483f9a0986a810480210a0_ws_RW&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_vgnextfmt=&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_vgnextchannel=&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_vgnextoid=2325cb80c4aa7210VgnVCM1000008420010aRCRD&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_currentLocale=&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken",
method: "POST",
load: function(type, data, evt){
var formdiv = document.getElementById("V_4b5b9e0fc3483f9a0986a810480210a0_content");
formdiv.innerHTML = "";
formdiv.innerHTML = data;
},
error: function(type, data, evt){
var formdiv = document.getElementById("V_4b5b9e0fc3483f9a0986a810480210a0_content");
formdiv.innerHTML = "";
formdiv.innerHTML = data;
},
mimetype: "text/plain",
formNode: document.getElementById("myForm")};
dojo.io.bind(bindArgs);
}
function V_4b5b9e0fc3483f9a0986a810480210a0_submit(cookie) {
setCookie(cookie,'true',1);
var bindArgs = {
encoding: "UTF-8",
url: "/portal/site/safari/template.PAGE/action.process/menuitem.3b7c7702e1de1d6befed3210480210a0/?javax.portlet.action=true&javax.portlet.tpst=4b5b9e0fc3483f9a0986a810480210a0_ws_RW&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_vgnextfmt=&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_vgnextchannel=&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_vgnextoid=2325cb80c4aa7210VgnVCM1000008420010aRCRD&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_currentLocale=&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken",
method: "POST",
load: function(type, data, evt){
var formdiv = document.getElementById("V_4b5b9e0fc3483f9a0986a810480210a0_content");
formdiv.innerHTML = "";
formdiv.innerHTML = data;
},
error: function(type, data, evt){
var formdiv = document.getElementById("V_4b5b9e0fc3483f9a0986a810480210a0_content");
formdiv.innerHTML = "";
formdiv.innerHTML = data;
},
mimetype: "text/plain",
formNode: document.getElementById("myForm")};
dojo.io.bind(bindArgs);
}
function V_4b5b9e0fc3483f9a0986a810480210a0_alboomasubmit() {
var bindArgs = {
encoding: "UTF-8",
url: "/portal/site/safari/template.PAGE/action.process/menuitem.3b7c7702e1de1d6befed3210480210a0/?javax.portlet.action=true&javax.portlet.tpst=4b5b9e0fc3483f9a0986a810480210a0_ws_RW&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_vgnextfmt=&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_vgnextchannel=&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_vgnextoid=2325cb80c4aa7210VgnVCM1000008420010aRCRD&javax.portlet.prp_4b5b9e0fc3483f9a0986a810480210a0_currentLocale=&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken",
method: "POST",
load: function(type, data, evt){
var formdiv = document.getElementById("V_4b5b9e0fc3483f9a0986a810480210a0_content");
formdiv.innerHTML = "";
formdiv.innerHTML = data;
},
error: function(type, data, evt){
var formdiv = document.getElementById("V_4b5b9e0fc3483f9a0986a810480210a0_content");
formdiv.innerHTML = "";
formdiv.innerHTML = data;
},
mimetype: "text/plain",
formNode: document.getElementById("albooma_form")};
dojo.io.bind(bindArgs);
}
function setCookie(c_name,value,expiredays)
{
var exdate=new Date();
exdate.setDate(exdate.getDate()+expiredays);
document