function AlertRegister(){
	alert("This function is only available to logged in members.\n\nWhy not register now - it's free!");
}
function toolaccess(){
	if (confirm("You need to be a logged in member to access this feature.\n\nWould you like to register for a free account?")){
	document.location.href="/pixels/register.asp";
	}
}
function wipelogin(){
	var frm = document.frmtop;
	if (frm.login.value == "User Name" || frm.password.value == "XXXXXXX"){
		frm.login.value = "";
		frm.password.value = "";
	}
}
function InRange(numin,rangestart,rangeend){
	if (isNaN(numin)){
		return false;
	}else{
		if (numin >= rangestart && numin <= rangeend){
			return true;
		}else{
			return false;
		}
	}
}
function RemoveBuddy(iID){
	if (confirm('Are you sure you wanna remove this buddy?')){
		location.href='/pixels/buddy.asp?d=1&id=' + iID;
	}
}
function RemoveFavorites(iID){
	if (confirm('Are you sure you wanna remove this from your favorites gallery?')){
		location.href='/pixels/logfavorites.asp?d=1&id=' + iID;
	}
}
function GetRTEContents(RTEIn){
	// Get the editor instance that we want to interact with.
	var oEditor = FCKeditorAPI.GetInstance(RTEIn) ;
	// Get the editor contents in XHTML.
	return oEditor.GetXHTML( true ); // "true" means you want it formatted.	
}
if (screen.width >=1024){document.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"/pixels/includes/styles_wide.css\" />");} 