This is session_logout.asp
Code:
<SCRIPT language="JavaScript">
<!--
function closeAllPopups(){
//closePopup("any"); //printBooking.asp
closePopup("name"); //fare_details.asp
//...close other popups here
}
function closePopup(popupName){
var win = window.open("", popupName, "width=1, height=1"); //set small window if in case popup is not yet existing
win.close();
}
window.onload = closeAllPopups;
function redirectFrame()
{
top.location="../login.asp";
}
alert("Thank you for using CRMPicco.");
setTimeout('redirectFrame()',1000);
//-->
</SCRIPT>
How do i only run this line
Code:
alert("Thank you for using CRMPicco.");
if the window name is not 'name'?
TIA.
www.crmpicco.co.uk
www.crmpicco.co.uk.tt
www.milklemonadechocolate.uk.tt
www.griswolds.uk.tt
www.piccosmini.co.uk.tt
www.morton.uk.tt