// JavaScript Document

function openWin(myUrl,myWidth,myHeight,myName){
	 popup = window.open(myUrl,myName,'toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,copyhistory=no,width=' + myWidth + ',height=' + myHeight + '');
 }


function confirm_ex(url,mess){ 
if (confirm(mess)){ 
window.location=url; }} 

function confirm_ex2(id,mess){ 
	if (confirm("Are you sure you wish to retract the bid for $" + mess)){ 
		bid.document.predefbid.ret.value=id;
		bid.document.predefbid.submit();
	}
} 

var flash=window.document.sounds;
var counter1=0;
function flash_update(str){
//		document.getElementById("countervalue").innerHTML = str + " : " + counter1;
}
function play_file(toplay){
	try{
		toplay=toplay.toString();
//		document.getElementById("countervalue").innerHTML += " : " + counter1;
//		document.getElementById("countervalue").innerHTML = " : " + toplay;
//		flash.play_file(toplay);
		counter1++;
	} catch(e) {
//		alert(e);
	}
}