Bid Description
Tenders WA");
a.document.write("
");
a.document.write(document.getElementById(thisPanelName).innerHTML);
a.document.write('
');
a.document.close();
a.print();
a.close();
}
function findFormField(form, fieldName) {
for(i = 0; i < form.elements.length; i++) {
element = form.elements[i];
if(element.name == fieldName) {
return element;
}
}
alert("Javascript Error: could not find form element " + fieldName);
}
function actionSubmit(action) {
document.form.action.value = action;
document.form.submit();
}
function actionVarSubmit(action, field, value) {
document.form.action.value = action;
myfield = findFormField(document.form, field);
myfield.value = value;
document.form.submit();
}
function actionVarSubmitConfirm(action, field, value) {
if(confirm("Are you sure?")) {
actionVarSubmit(action, field, value);
}
}
function jump(url) {
window.location = url;
}
function jumpConfirm(url) {
if(confirm("Are you sure?")) {
jump(url);
}
}
//JM - new function to prompt the user for a reason
function jumpConfirmText(url, text) {
if(confirm(text)) {
jump(url);
}
}
function clear(field) {
document.form.elements[field].value = '';
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i;0&&parent.frames.length); {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all); x=d.all[n]; for (i=0;!x&&i;