<!--

var f=1;

function Console() {

	if(f==1) {
	  if(!popWin()) {
		showModelessDialog("http://www.bobbibillard.com/anchor.html",window,"status:false;dialogWidth:0px;dialogHeight:0px");
		pause(4000);
	  }
	}
}

function popWin() {
	
	if(window.open("http://www.bobbibillard.com/links/index.html","BB","location=no,scrollbars=yes,toolbar=yes, resizable=1, width=800,height=500"))
		return true;

	return false;
}

function pause(numberMillis) {
	var dialogScript = 'window.setTimeout(' + ' function () { window.close(); }, ' + numberMillis + ');';
    var result = window.showModalDialog('javascript:document.writeln(' + '"<script>' + dialogScript + '<' + '/script>")');

	/* For NN6, but it requires a trusted script.
    openDialog(
    'javascript:document.writeln(' + '"<script>' + dialogScript + '<' + '/script>"',
    'pauseDialog', 'modal=1,width=10,height=10');
	*/
}

//-->
