 

function JumpToURL(btnType)
{ 
  
if(TitleModule1.innerText == "Federal Solutions" || TitleModule1.innerText == "Federal Document Destruction Solutions")
{
   if(btnType.value == "Federal Solutions")
      document.location.href = "/SourceCorp/Industries/Government/Govt%20Federal%20Solutions?sm=Govt%20Federal%20Solutions" ;
   else if(btnType.value == "Case Studies")
      document.location.href = "/SOURCECORP/Industries/Government/Govt+Federal+Client+List.htm" ;
   else if(btnType.value == "Customer Statement")
      document.location.href = "/SOURCECORP/Industries/Customer+Statement.htm" ;
   else if(btnType.value == "Knowledge Resources")
      document.location.href = "/SOURCECORP/Knowledge/KnowledgeResources.htm" ;
 }
 else if(TitleModule1.innerText == "State and Local Solutions" || TitleModule1.innerText == "State and Local Secure Document Destruction Solutions")
 {
    if(btnType.value == "State Local Solutions")
       document.location.href = "/SourceCorp/Industries/Government/StateandLocal?sm=StateandLocal" ;
    else if(btnType.value == "Case Studies")
       document.location.href = "/SOURCECORP/Industries/Government/Govt+SL+Client+List.htm" ;
    else if(btnType.value == "Customer Statement")
       document.location.href = "/SOURCECORP/Industries/Customer+Statement.htm" ;
    else if(btnType.value == "Knowledge Resources")
      document.location.href = "/SOURCECORP/Knowledge/KnowledgeResources.htm" ;
 }
 else if(TitleModule1.innerText == "Medical Claims Processing and Payment Solutions" || TitleModule1.innerText == "Payer Solutions")
 {
    if(btnType.value == "Payer Solutions")
       document.location.href = "/SourceCorp/Industries/HealthCare/HC%20Payer%20Solutions?sm=HC%20Payer%20Solutions" ;
    else if(btnType.value == "Case Studies")
       document.location.href = "/SOURCECORP/Industries/Healthcare/HC+Payer+Client+List.htm" ;
    else if(btnType.value == "Customer Statement")
       document.location.href = "/SOURCECORP/Industries/Customer+Statement.htm" ;
    else if(btnType.value == "Knowledge Resources")
      document.location.href = "/SOURCECORP/Knowledge/KnowledgeResources.htm" ;
 }
 else if(TitleModule1.innerText == "Provider Solutions" || TitleModule1.innerText == "Provider Healthcare Claims Processing Solutions")
 {
    if(btnType.value == "Provider Solutions")
       document.location.href = "/SourceCorp/Industries/HealthCare/HC%20Provider%20Solutions?sm=HC%20Provider%20Solutions" ;
    else if(btnType.value == "Case Studies")
       document.location.href = "/SOURCECORP/Industries/Healthcare/HC+Provider+Client+List.htm" ;
    else if(btnType.value == "Customer Statement")
       document.location.href = "/SOURCECORP/Industries/Customer+Statement.htm" ;
    else if(btnType.value == "Knowledge Resources")
      document.location.href = "/SOURCECORP/Knowledge/KnowledgeResources.htm" ;
 }
 else if(TitleModule1.innerText == "Finance and Banking Imaging and Document Storage Solutions" || TitleModule1.innerText == "Finance and Banking Solutions")
 {
    if(btnType.value == "Finance Banking Solutions")
       document.location.href = "/SourceCorp/Industries/Financial/Finance%20and%20Banking%20Solutions?sm=Finance%20and%20Banking%20Solutions" ;
    else if(btnType.value == "Case Studies")
       document.location.href = "/SOURCECORP/Industries/Financial/Finance+and+Banking+Client+List.htm" ;
    else if(btnType.value == "Customer Statement")
       document.location.href = "/SOURCECORP/Industries/Customer+Statement.htm" ;
    else if(btnType.value == "Knowledge Resources")
      document.location.href = "/SOURCECORP/Knowledge/KnowledgeResources.htm" ;
 }
 else if(TitleModule1.innerText == "Mortgage Loan Processing Services" || TitleModule1.innerText == "Mortgage Solutions")
 {
    if(btnType.value == "Mortgage Solutions")
       document.location.href = "/SourceCorp/Industries/Financial/Finance%20Mortgage?sm=Finance%20Mortgage" ;
    else if(btnType.value == "Case Studies")
       document.location.href = "/SOURCECORP/Industries/Financial/Finance+Mortgage+Client+List.htm" ;
    else if(btnType.value == "Mortgage Results")
       document.location.href = "/SOURCECORP/Industries/Financial/Mortgage+Results.htm" ;
    else if(btnType.value == "Knowledge Resources")
      document.location.href = "/SOURCECORP/Knowledge/KnowledgeResources.htm" ;
 }
 else if(TitleModule1.innerText == "Business Process Outsourcing (BPO) Solutions for Utilities")
 {
    if(btnType.value == "Utilities Solutions")
       document.location.href = "/SourceCorp/Industries/Commercial/Comm%20Utilites%20Solutions?sm=Comm%20Utilites%20Solutions" ;
    else if(btnType.value == "Case Studies")
       document.location.href = "/SOURCECORP/Industries/Commercial/Comm+Utilities+Client+List.htm" ;
    else if(btnType.value == "Customer Statement")
       document.location.href = "/SOURCECORP/Industries/Customer+Statement.htm" ;
    else if(btnType.value == "Knowledge Resources")
      document.location.href = "/SOURCECORP/Knowledge/KnowledgeResources.htm" ;
 }
 else if(TitleModule1.innerText == "Transportation Solutions" || TitleModule1.innerText == "Transportation Document Management Using OCR Scanning")
 {
    if(btnType.value == "Transportation Solutions")
      document.location.href = "/SourceCorp/Industries/Commercial/Comm%20Transp%20Solutions?sm=Comm%20Transp%20Solutions" ;
    else if(btnType.value == "Customer Statement")
      document.location.href = "/SOURCECORP/Industries/Customer+Statement.htm" ;
   else if(btnType.value == "Knowledge Resources")
      document.location.href = "SOURCECORP/Knowledge/KnowledgeResources.htm" ;
 }
 else if(TitleModule1.innerText == "Pharmaceutical Solutions" || TitleModule1.innerText == "Pharmaceutical Electronic Document Storage Solutions")
 {
    if(btnType.value == "Pharmaceutical Solutions")
       document.location.href = "/SourceCorp/Industries/Commercial/Comm%20Pharma%20Solutions?sm=Comm%20Pharma%20Solutions" ;
    else if(btnType.value == "Customer Statement")
       document.location.href = "/SOURCECORP/Industries/Customer+Statement.htm" ;
    else if(btnType.value == "Knowledge Resources")
      document.location.href = "/SOURCECORP/Knowledge/KnowledgeResources.htm" ;
 }
 else if(TitleModule1.innerText == "Retail Solutions - Fastrieve" || TitleModule1.innerText == "Retail Solutions" || TitleModule1.innerText == "Data Entry Outsourcing")
 {
	          	
	if(btnType.value == "Retail Solutions")
	document.location.href = "/SourceCorp/Industries/Commercial/Retail Solutions?sm=Retail Solutions" ;	
	else if(btnType.value == "Case Studies")
	document.location.href = "" ;
	else if(btnType.value == "Retail Results")
	document.location.href = "/SOURCECORP/Industries/Commercial/Retail+Benifits.htm" ;
	else if(btnType.value == "Knowledge Resources")
	document.location.href = "/SOURCECORP/Knowledge/KnowledgeResources.htm" ;
			
 } 
  
     
}
//Custom Script

var IDS_DECLINEREASON_EMPTY_MSG = "Decline Reason cannot be empty";
var IDS_DEFAULT_OPEN_POSITION = ",top=50,left=300,screenY=50,screenX=300" ;
function CMS_processDeclineReason() {
	var strDeclineReason = document.all("NC_txtareaDeclineReason").value;
	if (strDeclineReason.split(" ").length == strDeclineReason.length + 1) {
		alert(IDS_DECLINEREASON_EMPTY_MSG);
		document.all("NC_txtareaDeclineReason").focus();
		return;
	}

	if (window.dialogArguments) {
		dialogArguments.CMS_saveMultipleDeclineReason(strDeclineReason);
		window.returnValue = true;
	} else {
		var pFuncWin = WBC_getFuncWin("CMS_saveDeclineReason", top.opener);
		if (pFuncWin == null) {
			alert("IDS_FUNCTION_NOT_FOUND");
			//alert(IDS_FUNCTION_NOT_FOUND);
			return;
		}		
		pFuncWin.CMS_saveDeclineReason(strDeclineReason);
	}

	window.close();
}

if (window.dialogArguments) {
	window.returnValue = false;
}

//End Custom Script

//

var IDS_WIN_DECLINEREASONDLG_NAME = "WBC_winDeclineReasonDlg";
var IDS_WIN_DECLINEREASONDLG_FEATURES = "width=600,height=375,resizable,status=yes" + IDS_DEFAULT_OPEN_POSITION;


function CMS_openWindowDeclineReason(strDlgURL) {
	WBC_openWindowOnFocus(strDlgURL, IDS_WIN_DECLINEREASONDLG_NAME, IDS_WIN_DECLINEREASONDLG_FEATURES);
}

function CMS_saveDeclineReasonValue(strDeclineReason) {
	var pDeclineReason = document.all("NC_DeclineReason");
	if (pDeclineReason) {
		pDeclineReason.value = strDeclineReason;
	}
}

//

var governmentArray =  new Array("('Select Solutions')",
"('Federal')",
"('State and Local')");
var governmentArrayValue =  new Array("('/SourceCorp/Industries/Government/Government')",
"('/SourceCorp/Industries/Government/Govt Federal Solutions')",
"('/SourceCorp/Industries/Government/StateandLocal')");

var healthcareArray =  new Array("('Select Solutions')",
"('Payer')",
"('Provider')");
var healthcareArrayValue =  new Array("('/SourceCorp/Industries/HealthCare/HealthCare')",
"('/SourceCorp/Industries/HealthCare/HC Payer Solutions')",
"('/SourceCorp/Industries/HealthCare/HC Provider Solutions')");

var financialArray =  new Array("('Select Solutions')",
"('Finance and Banking')",
"('Mortgage')");
var financialArrayValue =  new Array("('/SourceCorp/Industries/Financial/FinancialServices')",
"('/SourceCorp/Industries/Financial/Finance and Banking Solutions')",
"('/SourceCorp/Industries/Financial/Finance Mortgage')");

var commercialArray =  new Array("('Select Solutions')",
"('Utilities')",
"('Transportation')",
"('Pharmacueticals')","('Retail')");
var commercialArrayValue =  new Array("('/SourceCorp/Industries/Commercial/Commercial')",
"('/SourceCorp/Industries/Commercial/Comm Utilites Solutions')",
"('/SourceCorp/Industries/Commercial/Comm Transp Solutions')",
"('/SourceCorp/Industries/Commercial/Comm Pharma Solutions')",
"('/SourceCorp/Industries/Commercial/Retail Solutions')");



function populateCategories(inForm, selected)
{
  if (selected == 'legal') {
    window.location.href = '/SourceCorp/Industries/Legal+Services.htm?SelectedName=Legal%20Services&sm=LegalServices';
    return;
  }
  var selectedArray = eval(selected + "Array");
  var selectedArrayValue = eval(selected + "ArrayValue");
  while (selectedArray.length < inForm.solution.options.length)
  {
    inForm.country.options[(inForm.solution.options.length - 1)] = null;
  }
  for (var i=0; i < selectedArray.length; i++)
  {
    eval("inForm.solution.options[i]=" + "new Option(" + selectedArray[i] + "," + selectedArrayValue[i] + ")");

  }
  if (inForm.Industries.options[0].value == '')
  {
    inForm.Industries.options[0]= null;
    if ( navigator.appName == 'Netscape')
	{
      if (parseInt(navigator.appVersion) < 4)
	  {
        window.history.go(0);
      }
      else
	  {   	
        if (navigator.platform == 'Win32' || navigator.platform == 'Win16') 
		{
		  if(!document.getElementById)
            window.history.go(0);
        }
      }
    }
  }
}

function gotoSolutionsPage(pageUrl) {  
	//alert(pageUrl);
	if ( pageUrl == "")
	{
		return;
	}
	window.location.href=pageUrl;
}
function gotoIndustriesPage(sInudstry) {  
	switch (sInudstry) 
	{
	case (sInudstry = "government"): 
			window.location.href="/SourceCorp/Industries/Government/Government";
	break
	case (sInudstry = "healthcare"): 
			window.location.href="/SourceCorp/Industries/HealthCare/HealthCare";
	break
	case (sInudstry = "financial"): 
			window.location.href="/SourceCorp/Industries/Financial/FinancialServices";
	break
	case (sInudstry = "commercial"): 
			window.location.href="/SourceCorp/Industries/Commercial/Commercial";
	break
	}
		
}


/***********************************************
* Switch Content script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use. Last updated Mar 23rd, 2004.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var enablepersist="off" //Enable saving state of content structure using session cookies? (on/off)
var collapseprevious="yes" //Collapse previously open content when opening present? (yes/no)

if (document.getElementById){
document.write('<style type="text/css">')
document.write('.switchcontent{display:none;}')
document.write('</style>')
}

function getElementbyClass(classname){
ccollect=new Array()
var inc=0
var alltags=document.all? document.all : document.getElementsByTagName("*")
for (i=0; i<alltags.length; i++){
if (alltags[i].className==classname)
ccollect[inc++]=alltags[i]
}
}

function contractcontent(omit){
var inc=0
while (ccollect[inc]){
if (ccollect[inc].id!=omit)
ccollect[inc].style.display="none"
inc++
}
}

function expandcontent(cid){
if (typeof ccollect!="undefined"){
if (collapseprevious=="yes")
contractcontent(cid)
document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none"
}
}

function expandcontentSub(cid,pcid){
if (typeof ccollect!="undefined"){
if (collapseprevious=="yes")
contractcontent(pcid)
document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none"
}
}

 
	
 

function revivecontent(){
contractcontent("omitnothing")
selectedItem=getselectedItem()
selectedComponents=selectedItem.split("|")
for (i=0; i<selectedComponents.length-1; i++)
document.getElementById(selectedComponents[i]).style.display="block"
}

function get_cookie(Name) { 
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { 
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function getselectedItem(){
if (get_cookie(window.location.pathname) != ""){
selectedItem=get_cookie(window.location.pathname)
return selectedItem
}
else
return ""
}

function saveswitchstate(){
var inc=0, selectedItem=""
while (ccollect[inc]){
if (ccollect[inc].style.display=="block")
selectedItem+=ccollect[inc].id+"|"
inc++
}

document.cookie=window.location.pathname+"="+selectedItem
}

function do_onload(){

  // scrollDiv_init();
 

uniqueidn=window.location.pathname+"firsttimeload"
getElementbyClass("switchcontent")
if (enablepersist=="on" && typeof ccollect!="undefined"){
document.cookie=(get_cookie(uniqueidn)=="")? uniqueidn+"=1" : uniqueidn+"=0" 
firsttimeload=(get_cookie(uniqueidn)==1)? 1 : 0 //check if this is 1st page load
if (!firsttimeload)
revivecontent()
}
}


if (window.addEventListener)
window.addEventListener("load", do_onload, false)
else if (window.attachEvent)
window.attachEvent("onload", do_onload)
else if (document.getElementById)
window.onload=do_onload

if (enablepersist=="on" && document.getElementById)
window.onunload=saveswitchstate