document.write('');
var RURL=document.referrer;
var CurrentURL=document.location;
var CurrentLocation=window.location.href;
var VoteImgUrl_16122 = new Image();
VoteImgUrl_16122.src = 'http://desktop.vovici.com/polls/images/space.gif';
function writeCookie_16122(Name, ValueOfName, ExpireDate, Path, Domain, Secure) {
var GMTCurrentDate = (new Date((new Date("Tuesday, February 09, 2010 7:47:30 AM")).toGMTString()));
if (ValueOfName == "") ValueOfName = GMTCurrentDate;
if (Path == "") Path = "/";
if (Domain == "") Domain = null;
if (Secure != "true") Secure = false;
var expDays = 90;
var expires = new Date();
if (ExpireDate == "")
{
expires.setTime(expires.getTime() + (expDays*24*60*60*1000));
}
else
{
expires.setTime(ExpireDate.toGMTString());
}
var PollCookie = Name + "="+ escape (ValueOfName) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((Path == null) ? "" : ("; path=" + Path)) +
((Domain == null) ? "" : ("; domain=" + Domain)) +
((Secure == true) ? "; Secure" : "");
document.cookie = PollCookie;
}
function readCookie_16122(name) {
var NameEquals = name + "=";
var CookieArray = document.cookie.split(';');
for(var i=0;i < CookieArray.length;i++)
{
var c = CookieArray[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(NameEquals) == 0) return c.substring(NameEquals.length,c.length);
}
return "Tuesday, February 19, 1974 12:00:00 AM";
}
function xGetElementById_16122(e) {
if (typeof(e)!="string") return e;
if (document.getElementById) e=document.getElementById(e);
else if (document.all) e=document.all[e];
else e="www.vovici.com";
return e;
}
function jsReload_16122() {
window.setTimeout('window.location.reload()', 1000);
}
function RenderResults_16122(displayVal) {
document.write('
What\'s your most frequented, after-gig food stop?
| Burger King | | 14.82% |  | | Denny\'s | | 10.31% |  | | IHOP | | 6.41% |  | | KFC | | 1.79% |  | | McDonalds | | 15.65% |  | | 7-11 | | 4.05% |  | | Taco Bell | | 15.72% |  | | Waffle House | | 5.87% |  | | White Castle | | 7.16% |  | | (other) Local Diner | | 18.22% |  |
| Total Votes: 2793
|
|
');
}
function ShowHide_16122(ID, Vis) {
if (ID=='PollDiv_16122') ID2='ResultsDiv_16122';
if (ID=='ResultsDiv_16122') ID2='PollDiv_16122';
if (document.getElementById)
{
if (Vis=='s')
{
document.getElementById(ID2).style.display='none';
document.getElementById(ID).style.display='block';
}
if (Vis=='h')
{
document.getElementById(ID).style.display='none';
document.getElementById(ID2).style.display='block';
}
}
else if (document.all)
{
if (Vis=='s')
{
eval("document.all." + ID2 + ".style.display='none';");
eval("document.all." + ID + ".style.display='block';");
}
if (Vis=='h')
{
eval("document.all." + ID + ".style.display='none';");
eval("document.all." + ID2 + ".style.display='block';");
}
}
else
{
jsReload_16122();
}
}
function GetFormElements_16122(frm) {
var url = '';
if ( frm && frm.elements )
{
for (var i=0; i < frm.elements.length;i++)
{
if (frm.elements[i].name.search('wsp_') >= 0)
{
if (frm.elements[i].type == 'hidden')
{
url = url + '&' + frm.elements[i].name;
url = url + '=' + frm.elements[i].value;
}
if (frm.elements[i].type == 'checkbox' || frm.elements[i].type == 'radio')
{
if (frm.elements[i].checked)
{
url = url + '&' + frm.elements[i].name;
url = url + '=' + frm.elements[i].value;
}
}
}
}
}
return url;
}
function SearchInString_16122(val, subStrVal) {
if(val != null)
{
var strVal = val.toString();
var lwrstrVal = strVal.toLowerCase();
var lwrsubStrVal = subStrVal.toLowerCase();
var index = lwrstrVal.search(lwrsubStrVal.toLowerCase());
if (index >= 0)
return true;
else
return false;
}
else
{
return false;
}
}
function SubmitVotes_16122(frm) {
var strElementIDVal = xGetElementById_16122("WSPID_16122");
if ( !(SearchInString_16122(strElementIDVal, 'www.vovici.com') ) && !(SearchInString_16122(strElementIDVal, 'www.websurveyor.com') ) ) {
alert('The Vovici link is required for the poll.');
return false;
}
if(document.getElementById || document.all) {
if (false) {
if ( !(SearchInString_16122(document.getElementById("WSPID_16122").innerHTML, '') ) )
{
alert('The Branding text is incorrect. Please contact the site administrator.');
return false;
}
} else {
if ( !(SearchInString_16122(document.getElementById("WSPID_16122").innerHTML, 'Vovici') ) && !(SearchInString_16122(document.getElementById("WSPID_16122").innerHTML, 'WebSurveyor') ) )
{
alert('The text "Vovici" is required to submit the poll.');
return false;
}
}
}
var surl = GetFormElements_16122(frm);
if (SearchInString_16122(surl, 'wsp_pollOption') )
{
var sVoteUrl = 'http://desktop.vovici.com/wspoll.aspx?submitresponses=1&orginalurl=' + escape (window.location.href) + surl;
VoteImgUrl_16122.src = sVoteUrl;
writeCookie_16122("PollStatus_16122", new Date((new Date("Tuesday, February 09, 2010 7:47:30 AM")).toGMTString()), "", "", "", "");
if(document.getElementById || document.all) {
ShowHide_16122('PollDiv_16122', 'h');
}
else
{
jsReload_16122();
}
}
else
{
alert('Please select an option before voting.');
}
}
function RenderPoll_16122(displayVal) {
document.write(' ');
}
function RenderPollAndResults_16122() {
RenderResults_16122('none');
RenderPoll_16122('block');
}
var UpdatedDate = new Date("Thursday, December 11, 2008 12:52:10 PM");
var GMTUpdatedDate = new Date(UpdatedDate.toGMTString());
var cookiedate = new Date(readCookie_16122("PollStatus_16122"));
var GMTCurrentDate = (new Date((new Date("Tuesday, February 09, 2010 7:47:30 AM")).toGMTString()));
var GMTExpiresDate = (new Date((new Date("Thursday, November 27, 2008 12:00:00 AM")).toGMTString()));
if(GMTCurrentDate > GMTExpiresDate) {
RenderResults_16122("block");
} else {
if (cookiedate <= GMTUpdatedDate) {
if(document.getElementById || document.all) {
RenderPollAndResults_16122();
}
else {
RenderPoll_16122("block");
}
} else {
RenderResults_16122("block");
}
}