var chooselanding="<FONT face=arial size=-1>Select the landing page you feel that best suits your referred traffic by clicking on the radio button corresponding to the page you've chosen.<br></font>";
var exitpage="<FONT face=arial size=-1>Customize your banner <strong>With Exit Page</strong> to expose your users to the PussyCash Exit Network when they leave WildMatch.com and earn commissions for any Exit Site your referred users join.  Choose <strong>Without Exit Page</strong> and no Exit Sites will be presented to your users when they leave WildMatch.<br></font>";
var openit="<FONT face=arial size=-1>To allow your users to leave your site and go directly to the promoted site, select <strong>Current Window</strong>.  To send your users to the promoted site in a new browser window and keep your site open in their current browsers, select <strong>New Window</strong>.<br></font>";
var bgcolor="<FONT face=arial size=-1>Choose the color you would like for the background of your promo tool.  Make sure to choose a color that stands out from your chosen text and link colors.<br></font>";
var textcolor="<FONT face=arial size=-1>Choose the color you would like for the text written on your promo tool.  Choose a color that stands out from your chosen background and link colors<br></font>";
var wildmatch="<FONT face=arial size=-1>When referring users to WildMatch via banners offered through PussyCash's Revenue Share program, you control which join page your users will see. Decide whether you want to <strong>offer your users a three day trial</strong> at WildMatch.com for $3.95 with the user's choice of an automatic 30 day renewal for $29.95 or an automatic 60 day renewal for $49.95; or a 30 day membership with an automatic 30 day renewal for $29.95 or 60 day membership with an automatic 60 day renewal for $49.95 with <strong>no three day trial</strong>. Typically, there are <strong>better conversions on join pages with trial periods</strong>, resulting in longer membership retention and future commissions. However, <strong>faster commissions are earned on join pages with no trial</strong>. The choice is yours!<br></font>";
var vodcategory="<FONT face=arial size=-1>Choose a category of movies to provide your users with a listing of the top VOD videos in that category at Sexier.com.  <br></font>";
var chooseCelebrity="<FONT face=arial size=-1>Choose a category of movies to provide your users with a listing of the top VOD videos in that category at Sexier.com.  <br></font>";
var sound = "<FONT face=arial size=-1>You can choose to have an alert sound that will indicate to your traffic that a pop-up message has arrived.</font>";
var popup_location = "<FONT face=arial size=-1>You can select where the pop-up messages will appear. Choose either the bottom right or bottom left corner.</font>";

var texturl="<FONT face=arial size=-1>The source URL, where sign-ups originated.  Beta version.<br></font>";
var textpromo="<FONT face=arial size=-1>The promo tools you used to send sign-ups.  Beta version.<br></font>";

var groupnamehelp="<FONT face=arial size=-1>A group name should indicate the nature of the group of promo tools or campaign, ie 'GeoBanners' or 'MarchPromo.'  </font>";
var groupdescriptionhelp="<FONT face=arial size=-1>Create a short description of the group you are creating or the campaign you intend to run using the promo tool tracking tags you select to include in your group.  For example, if you are creating a group to promote ImLive during a special promotion, you can describe the campaign as 'March ImLive promotion in all TGP galleries'  </font>";

var namehelp="<FONT face=arial size=-1>A Group is essentially a number of promo tools with tracking tags that are bundled together and monitored as a whole.  Its name should indicate the nature of the group, ie 'GeoBanners' or 'MarchPromo.'</font>";
var descriptionhelp="<FONT face=arial size=-1>Create a short description of the group you are creating or the campaign you intend to run using the promo tool tracking tags you select to include in your group.  For example, if you are creating a group to promote ImLive during a special promotion, you can describe the campaign as 'March ImLive promotion in all TGP galleries'</font>";
var desc="<FONT face=arial size=-1>Use this feature to create a short description of the campaign you intend to run using the tracking tag you are creating. For example, if you are using the tag to test a particular banner on only one page of your site, describe the code as 'My tag for Banner X, on the members page of site Y' <br></font>";

var codetag="<FONT face=arial size=-1>Create your personalized tracking tag with a word, a phrase or a string of numbers and letters.<br>The only phrases you cannot use are 'BCode' and '00000'.</font>";

var cobrand="<FONT face=arial size=-1>The name you choose will identify your co-branded site and must be added to PussyCash promo tools in order to send your traffic to your co-branded site.<br></font>";

var msgConfirm="<FONT face=arial size=-1>To protect the integrity of your account, a verification email will be sent to you confirming your update.  Please confirm by clicking on the verification link enclosed in the email within one hour.<br></font>";
	
	function createPopup(obj){
			this.targetObj=document.getElementById(obj.targetObj);
			this.curElem=obj.curElem;
			this.width=obj.width||"100";
			this.height=obj.height||"100";
			this.backgroundColor=obj.backgroundColor||"white";
			this.fontColor=obj.fontColor||"black";
			this.fontFamily=obj.fontFamily||"arial";
			this.fontSize=obj.fontSize||"12";
			this.borderWidth=obj.borderWidth||"1";
			this.borderColor=obj.borderColor||"black";
			this.posTop=parseInt(obj.posTop);
			this.posLeft=parseInt(obj.posLeft) + 20;
			this.HTMLCode=obj.HTMLCode;
			this.drawPopup=drawPopup;
		}
	
	
	function drawPopup(){
		try{
	        var strElement = "<table onmouseout=\"document.getElementById('curObj').innerHTML=''\" style='font-size:" + this.fontSize + "' height='" + this.height + "' width='" + this.width + "' cellspacing='" + this.borderWidth + "' cellpadding='4' border='0' bgcolor='" + this.borderColor + "'>";
	        strElement += "<tr align='left' bgcolor='" + this.backgroundColor + "'>";
	        strElement += "<td style='color:" + this.fontColor + ";fontFamily:" + this.fontFamily + "'>";
		    strElement += this.HTMLCode;
		    strElement += "</td></tr></table>";

            if (document.layers){
			    this.targetObj.style.top = this.posTop;
			    this.targetObj.style.left = this.posLeft;
            }
            else{ 
		        if ((navigator.userAgent.indexOf("Opera 5")!=-1) || (navigator.userAgent.indexOf("Opera/5")!=-1)) {
			        this.targetObj.style.posTop = this.posTop;
			        this.targetObj.style.posLeft = this.posLeft;
		        } else {
			        this.targetObj.style.top = this.posTop + 'px';
 			        this.targetObj.style.left = this.posLeft + 'px';
		        }	
			}
			this.targetObj.innerHTML = strElement;
			this.targetObj.focus();
		}
		catch(e){}	
	}
		
		function show(htm,wdth,hght,backcol,fontcol,brdwdth,brdcol,curElem,fontFamily,fontSize){
			try{
				//popup=new createPopup({targetObj:"curObj",width:wdth,height:hght,backgroundColor:backcol,fontColor:fontcol,borderWidth:brdwdth,borderColor:brdcol,posTop:parseInt(window.event.srcElement.offsetTop)+17,posLeft:parseInt(window.event.srcElement.offsetLeft-wdth/2-8),HTMLCode:htm,fontFamily:fontFamily,fontSize:fontSize});
				popup=new createPopup({targetObj:"curObj",width:wdth,height:hght,backgroundColor:backcol,fontColor:fontcol,borderWidth:brdwdth,borderColor:brdcol,posTop:parseInt(curElem.offsetTop)+20,posLeft:parseInt(curElem.offsetLeft-wdth/20-8),HTMLCode:htm,fontFamily:fontFamily,fontSize:fontSize});
				popup.drawPopup();
			}
			catch(e){}		
		}
		
		function HideDiv(ev){
		    var tagName;
		    if(window.event){
		        if(window.event.srcElement)
		            tagName = event.srcElement.tagName;
		    }
		    else if(ev){
		        tagName = ev.target.tagName;
		    }
			if(tagName=="BODY" || tagName=="TD" || tagName=="TR"){
				try{
					//this.targetObj.innerHTML='';
					document.getElementById("curObj").innerHTML='';
					//this.targetObj.innerHTML='';
				}
				catch(e){}	
			}	
		}
		
				
		function addEvent(obj, evType, fn){
			try{
				if (obj.addEventListener){ 
					obj.addEventListener(evType, fn, false); 
				} else if (obj.attachEvent){ 
					obj.attachEvent("on"+evType, fn); 
				} else { 
					eval(fn + "()");
				} 
			}
			catch(e){}
		}
		
		try{
			addEvent(document, 'mousemove', HideDiv);
		}
		catch(e){}		

