var s_prop13="";

function sc_replace_text(str) {
	var intIndexOfMatch = str.indexOf( "_" );
	while (intIndexOfMatch != -1){
		str = str.replace( "_", " " )
		intIndexOfMatch = str.indexOf( "_" );
	}
  document.write(str);
}	

page_title = document.title;

function openContactWindow(url,winName) {
  mywin = window.open(url,winName,"dependent=1,location=0,directories=0,status=0,menubar=0,titlebar=0,toolbar=0,scrollbars=1,resizable=1,alwaysRaised=0");
} 

function openImageWindow(imageUrl, imageAltText) {
  mywin = window.open("","SampleImage","dependent=1,location=0,directories=0,status=0,menubar=0,titlebar=0,toolbar=0,scrollbars=1,resizable=1,alwaysRaised=0");
  mywin.document.write('<img src="' + imageUrl + '" alt="' + imageAltText + '" align="left" hspace="0" vspace="0">');
  mywin.document.write('<div align="right"><button onclick="window.close();">Close</button></div>');
  mywin.document.title = imageAltText
  mywin.focus()
}	

function openFlashWindow(flashUrl, flashAltText) {
  mywin = window.open("","SampleImage","dependent=1,location=0,directories=0,status=0,menubar=0,titlebar=0,toolbar=0,scrollbars=1,resizable=1,alwaysRaised=0");
  mywin.document.writeln('The demonstration will be shown below.  Please Wait.');
  mywin.document.writeln('<table border="0" cellspacing="0" cellpadding="0"><tr>');
  mywin.document.writeln('<td nowrap width="100%" bgcolor="#FFFFFF" valign="top" align="left">');
  mywin.document.writeln('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="1024" height="768" ID="Shockwaveflash1" VIEWASTEXT>');
  mywin.document.writeln('<param name=movie value="'+ flashUrl + '">');
  mywin.document.writeln('<param name=quality value=high>');
  mywin.document.writeln('<embed src="' + flashUrl + '" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash">');
  mywin.document.writeln('</embed> </object></td></tr>');
  mywin.document.writeln('</table>');
  mywin.document.write('<div align="right"><button onclick="window.close();">Close</button></div>');
  mywin.document.title = flashAltText
  mywin.focus()
}	

var opnsc_class_hidden = "";

$ = function(id) {
	return document.getElementById(id);
}

function sc_toggle(id) {
	if ($(id).className == "opnsc_hidden") {
		sc_expand(id);
	} else {
		sc_collapse(id);
	}
}

function sc_expand(id) {
	$(id).className = "opnsc_visible";
}

function sc_collapse(id) {
	$(id).className = "opnsc_hidden";
}

function sc_expandAll(divList) {
	for (var i = 0; i < divList.length; i++) {
		sc_expand(divList[i]);
	}
}

function sc_collapseAll(divList) {
	for (var i = 0; i < divList.length; i++) {
		sc_collapse(divList[i]);
	}
}