/*
This is a repository for all information "pop-ups" on the site.
This will help with maintenance as we will only have to make
one change instead of dozens on individual pages. -BcB
*/

/* on hold -BcB
function ssnInfo() {
	window.open("//loan/templates/pop-ssninfo.html", "message", "width=400,height=200,resizable=yes,scrollbars=no,left=60,top=60,screenX=60,screenY=60");
}
*/



function secMessage() {
	msg=window.open("//loan/templates/securitymessage.html", "OpenWindow", "width=400,height=550,toolbar=no,directories=no,status=no,scrollbars=default,resize=yes,menubar=no,left=20,top=20,screenX=20,screenY=20");
}

function autoTerms() {
	msg=window.open("//loan/templates/domain/autoapp/terms.html", "OpenWindow", "width=500,height=400,resizable=yes,scrollbars=yes,left=50,top=50,screenX=50,screenY=50");
}

	
function disclosure2() {
	msg=window.open("/s/shownonav/pop/popup_equitydisclosure-2", "OpenWindow", "width=475,height=240,resizable=yes,scrollbars=yes,left=100,top=100,screenX=100,screenY=100");
}

function privacyNotices2() {
	self.location.href  = "https://qspace.iplace.com/cobrands/23/order1_1.asp?p=2&sc=00505012"; 
	window.open("//loan/templates/popup_privacy_credit.html", "message", "width=440,height=320,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function privacyNotices3() {
	self.location.href  = "https://qspace.iplace.com/cobrands/23/order1_1.asp?p=1&afd=36&sc=00505036"; 
	window.open("//loan/templates/popup_privacy_credit.html", "message", "width=440,height=320,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}


function invest() {
	self.location.href  = "http://eloan.sharebuilder.com/flyaway"; 
	window.open("//loan/templates/pop-privacy-invest.html?", "message", "width=420,height=200,resizable=yes,scrollbars=yes,left=20,top=20,screenX=20,screenY=20");
}

function homeRen() {
	self.location.href  = "http://www.renovationexperts.com/"; 
	window.open("/s/shownonav/pop/homeren.wm?", "message", "width=420,height=200,resizable=yes,scrollbars=yes,left=20,top=20,screenX=20,screenY=20");
}

function personalloan1() {
	self.location.href  = "//loan/templates/mbna_apply.html?linksrc=pltab_pltitle"; 
	window.open("//loan/templates/pop-personalloan2.html?", "message", "width=420,height=200,resizable=yes,scrollbars=yes,left=20,top=20,screenX=20,screenY=20");
}

function personalloan2() {
	self.location.href  = "http://www.jdoqocy.com/click-1739956-10307382 "; 
	window.open("//loan/templates/pop-personalloan.html", "message", "width=420,height=200,resizable=yes,scrollbars=yes,left=20,top=20,screenX=20,screenY=20");
}

function personalloan2a() {
	self.location.href  = "http://www.tkqlhce.com/click-1739957-10307382"; 
	window.open("//loan/templates/pop-personalloan.html", "message", "width=420,height=200,resizable=yes,scrollbars=yes,left=20,top=20,screenX=20,screenY=20");
}

function personalloan3() {
	self.location.href  = "//loan/templates/mbna_pltab_status.html?linksrc=pltab_plstatus"; 
	window.open("//loan/templates/pop-personalloan2.html?", "message", "width=420,height=200,resizable=yes,scrollbars=yes,left=20,top=20,screenX=20,screenY=20");
}

function personalloan4() {
	self.location.href  = "https://www1.fni-stl.com/cgi-bin/eloannet.pl?form"; 
	window.open("//loan/templates/pop-personalloan2.html?", "message", "width=420,height=200,resizable=yes,scrollbars=yes,left=20,top=20,screenX=20,screenY=20");
}

function personalloan5() {
	self.location.href  = "http://www.anrdoezrs.net/click-1755017-10307382"; 
	window.open("//loan/templates/pop-personalloan.html?", "message", "width=420,height=200,resizable=yes,scrollbars=yes,left=20,top=20,screenX=20,screenY=20");
}

function electronicdocs() {
window.open("//loan/templates/popup_electronicpayments.html","OpenWindow","toolbar=no,width=600,height=505,directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,left=20,top=20,screenX=20,screenY=20");
}

function auto_VehicleHistoryReport() {
	self.location.href  = "http://www.carfax.com/cfm/general_check.cfm?p/loan/artner=ELN_0"; 
	window.open("//loan/templates/pop-privacy-vehiclehistoryreport.html", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function auto_VehicleHistoryReport1() {
	self.location.href  = "http://www.carfax.com/cfm/general_check.cfm?p/loan/artner=ELN_1"; 
	window.open("//loan/templates/pop-privacy-vehiclehistoryreport.html", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function auto_VehicleHistoryReport2() {
	self.location.href  = "http://www.carfax.com/cfm/general_check.cfm?p/loan/artner=ELN_2"; 
	window.open("//loan/templates/pop-privacy-vehiclehistoryreport.html", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function auto_VehicleHistoryReport3() {
	self.location.href  = "http://www.carfax.com/cfm/general_check.cfm?p/loan/artner=ELN_3"; 
	window.open("//loan/templates/pop-privacy-vehiclehistoryreport.html", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}
  
function popup_powercheck() {                   msg=window.open("//loan/templates/popup_powercheck.html","OpenWindow","toolbar=no,width=400,height=300,directories=no,status=no,scrollbars=default,resize=yes,menubar=no,left=20,top=20,screenX=20,screenY=20");
 } 
 
function autoQuote1() {
	self.location.href  = "https://www.nadaguides.com/p/loan/artner.aspx?adid=58126"; 
	window.open("//loan/templates/pop-privacy-autoquote.html?linksrc=autoquote", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function autoQuote2() {
	self.location.href  = "https://www.nadaguides.com/p/loan/artner.aspx?adid=58127 "; 
	window.open("//loan/templates/pop-privacy-autoquote.html?linksrc=autoquote", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function autoQuote3() {
	self.location.href  = "https://www.nadaguides.com/p/loan/artner.aspx?adid=58128"; 
	window.open("//loan/templates/pop-privacy-autoquote.html?linksrc=autoquote", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function autoQuote4() {
	self.location.href  = "https://www.nadaguides.com/p/loan/artner.aspx?adid=58132"; 
	window.open("//loan/templates/pop-privacy-autoquote.html?linksrc=autoquote", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function autoQuote5() {
	self.location.href  = "https://www.nadaguides.com/p/loan/artner.aspx?adid=58133 "; 
	window.open("//loan/templates/pop-privacy-autoquote.html?linksrc=autoquote", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function autoQuote6() {
	self.location.href  = "https://www.nadaguides.com/p/loan/artner.aspx?adid=58129"; 
	window.open("//loan/templates/pop-privacy-autoquote.html?linksrc=autoquote", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function autoQuote7() {
	self.location.href  = "https://www.nadaguides.com/p/loan/artner.aspx?adid=58130"; 
	window.open("//loan/templates/pop-privacy-autoquote.html?linksrc=autoquote", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
} 

function autoQuote8() {
	self.location.href  = "https://www.nadaguides.com/p/loan/artner.aspx?adid=58131"; 
	window.open("//loan/templates/pop-privacy-autoquote.html?linksrc=autoquote", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function autoValues() {
	self.location.href="http://www.nadaguides.com/p/loan/artner.aspx?ADID=58294 "; 
	window.open("//loan/templates/pop-privacy-autovalue.html?linksrc=autovalue", "message", "width=420,height=200,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function printPage() {
if (window.print)
window.print()
else
alert("Sorry, your browser doesn't support this feature.");
}

/* The following are the "help" pop-ups from the app. */

function help_2ndmort() {
msg=window.open("//loan/templates/domain/helocapp/help_2ndmort.html","OpenWindow","toolbar=no,width=300,height=200,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=5000,screenY=100");
}

function help_4() {
msg=window.open("//loan/templates/domain/helocapp/help_4.html","OpenWindow","toolbar=no,width=300,height=130,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=5000,screenY=100");
}

function help_6() {
msg=window.open("//loan/templates/domain/helocapp/help_6.html","OpenWindow","toolbar=no,width=300,height=100,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=5000,screenY=100");
}

function help_8() {
msg=window.open("//loan/templates/domain/helocapp/help_8.html","OpenWindow","toolbar=no,width=300,height=170,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=5000,screenY=100");
}

function help_9() {
msg=window.open("//loan/templates/domain/helocapp/help_9.html","OpenWindow","toolbar=no,width=300,height=150,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=5000,screenY=100");
}

function help_assocName() {
msg=window.open("//loan/templates/domain/helocapp/help_AssociationName.html","OpenWindow","toolbar=no,width=305,height=190,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
} 

function help_closingdate() {
msg=window.open("//loan/templates/domain/helocapp/help_closingdate.html","OpenWindow","toolbar=no,width=300,height=150,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
} 

function help_condoinfo() {
msg=window.open("//loan/templates/domain/helocapp/help_condoinfo.html","OpenWindow","toolbar=no,width=300,height=200,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=5000,screenY=100");
}

function help_curmort() {
msg=window.open("//loan/templates/domain/helocapp/help_curmort.html","OpenWindow","toolbar=no,width=300,height=200,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
}

function help_finclosing() {
msg=window.open("//loan/templates/domain/helocapp/help_finclosing.html","OpenWindow","toolbar=no,width=300,height=400,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
}

function help_grossreinc() {
msg=window.open("//loan/templates/domain/helocapp/help_rentalinc.html","OpenWindow","toolbar=no,width=300,height=140,directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
} 

function help_hoadues() {
msg=window.open("//loan/templates/domain/helocapp/help_hoadues.html","OpenWindow","toolbar=no,width=300,height=150,directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
} 

function help_homeins() {
msg=window.open("//loan/templates/domain/helocapp/help_homeins.html","OpenWindow","toolbar=no,width=300,height=180,directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
} 

function help_monthlypay() {
msg=window.open("//loan/templates/domain/helocapp/help_monthlypay.html","OpenWindow","toolbar=no,width=300,height=125,directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
} 

function help_mortins() {
msg=window.open("//loan/templates/domain/helocapp/help_mortins.html","OpenWindow","toolbar=no,width=300,height=150,directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
}

function help_origcost() {
msg=window.open("//loan/templates/domain/helocapp/help_origcost.html","OpenWindow","toolbar=no,width=315,height=180,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=5000,screenY=100");
}

function help_propconst() {
msg=window.open("//loan/templates/domain/helocapp/help_propconst.html","OpenWindow","toolbar=no,width=315,height=165,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=5000,screenY=100");
}

function help_propstatus() {
msg=window.open("//loan/templates/domain/helocapp/help_propstatus.html","OpenWindow","toolbar=no,width=300,height=150,directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
}

function help_proptaxins() {
msg=window.open("//loan/templates/domain/helocapp/help_proptaxins.html","OpenWindow","toolbar=no,width=300,height=350,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
}

function help_realestateowned() {
msg=window.open("//loan/templates/domain/helocapp/help_realestateowned.html","OpenWindow","toolbar=no,width=300,height=200,directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
} 

function help_realtor() {
msg=window.open("//loan/templates/domain/helocapp/help_realtor.html","OpenWindow","toolbar=no,width=300,height=175,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
} 

function help_realtorinfo() {
msg=window.open("//loan/templates/domain/helocapp/help_realtor.html","OpenWindow","toolbar=no,width=300,height=150,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
}

function help_rentalinc() {
msg=window.open("//loan/templates/domain/helocapp/help_rentalinc.html","OpenWindow","toolbar=no,width=300,height=150,directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
} 

function help_relo() {
msg=window.open("//loan/templates/domain/helocapp/help_relo.html","OpenWindow","toolbar=no,width=300,height=150,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
} 

function help_retaxes() {
msg=window.open("//loan/templates/domain/helocapp/help_retaxes.html","OpenWindow","toolbar=no,width=300,height=170,directories=no,status=no,scrollbars=no,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
}  

function help_subprop() {
msg=window.open("//loan/templates/domain/helocapp/help_subprop.html","OpenWindow","toolbar=no,width=315,height=160,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=500,screenY=100");
} 

function help_titleheld() {
msg=window.open("//loan/templates/domain/helocapp/help_titleheld.html","OpenWindow","toolbar=no,width=300,height=200,directories=no,status=no,scrollbars=yes,resizable=yes,menubar=no,left=500,top=100,screenX=5000,screenY=100");
}

function electronicdocs() {
	window.open("//loan/templates/popup_electronicpayments.html", "message", "width=400,height=550,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}


function calc01() {
	window.open("//loan/templates/frame_new-used.html", "message", "width=490,height=600,resizable=yes,scrollbars=yes,left=10,top=10,screenX=10,screenY=10");
}

function calc08() {
	window.open("//loan/templates/frame_he-auto.html", "message", "width=490,height=560,resizable=yes,scrollbars=yes,left=10,top=10,screenX=10,screenY=10");
}

function calc09() {
	window.open("//loan/templates/frame_which-better.html", "message", "width=490,height=610,resizable=yes,scrollbars=yes,left=10,top=10,screenX=10,screenY=10");
}

function calc11() {
	window.open("//loan/templates/frame_car-afford.html", "message", "width=490,height=540,resizable=yes,scrollbars=yes,left=10,top=10,screenX=10,screenY=10");
}

function popup_authorizeddealer() {                   msg=window.open("//loan/templates/popup_authorizeddealer.html","OpenWindow","toolbar=no,width=400,height=200,directories=no,status=no,scrollbars=default,resize=yes,menubar=no,left=20,top=20,screenX=20,screenY=20");
} 

function student() {
	self.location.href  = "https://eloan.slcp.com/ "; 
	window.open("//loan/templates/pop-privacy-student.html", "message", "width=440,height=180,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}

function studentPrivate() {
	self.location.href  = "https://eloan.slcp.com/index.cfm?action=privateconsol"; 
	window.open("//loan/templates/pop-privacy-student.html", "message", "width=440,height=180,resizable=yes,scrollbars=no,left=20,top=20,screenX=20,screenY=20");
}


function goFull(theURL){
     var width = window.screen.availWidth-300;
     var height = window.screen.availHeight-200;
     var pStr   = 'toolbar=no, menubar=yes, resizable=yes, scrollbars=yes, status=no, location=yes,  '
          pStr += ' ,width=' + width + ', height=' + height;
     newWindow = window.open(unescape(theURL), '_blank', pStr);
}
/* End App Help */
