var showhide = 'none';
var graphicallabel = '';
var locate = window.location;
var locatestr = locate.toString();

function my_onload () {
point = locatestr.lastIndexOf("?");
passedvar = locatestr.substring(point+1,locatestr.length);

if (passedvar == "text") {
showhide = 'none';
toggleDisplayImg();
}

}

function togglePage() {
point = locatestr.lastIndexOf("?");
redirectloc = locatestr.substring(0,point);

if (showhide == 'block') {
toggle = '';
}
else {
toggle = '?text';
}

window.location = redirectloc + toggle;
}

function toggleDisplayImg () {

var imgs = document.getElementsByTagName('img');
if (imgs) {
var n;
for (n = 0; n < imgs.length; n++)

if (imgs[n].src.indexOf('pdf.gif') == -1) {
imgs[n].style.display = showhide;
}

}

if (showhide == 'block') {
graphicallabel = 'Non-';
showhide = 'none';
}
else {
showhide = 'block';
graphicallabel = '';
}

var lbl = document.getElementById('graphical');
lbl.innerHTML = graphicallabel;
lbl.innertext = graphicallabel;

}