﻿
function ClickLogInLink(){
	var sActionURL = "/pub/Login.aspx";
	var sHost = document.location.host.toLowerCase();
	if(sHost.indexOf("www.showmgr") > -1){
		sActionURL = "https://login.showmgr.com/";
	}else if(sHost.indexOf("qa.showmgr") > -1){
		sActionURL = "https://loginqa.showmgr.com/";
	}else if(sHost.indexOf("dev.showmgr") > -1){
		sActionURL = "https://logindev.showmgr.com/";
	}
	try{
		top.location.href = sActionURL;
	}catch(e){
		location.href = sActionURL;
	}
}