	// document.write( '<script src="http://www.napster.com/js/ads.js" type="text/javascript"><\/script>' );
	var XS_ROOT_PATH = '/';
	var XS_IMG_PATH = XS_ROOT_PATH + 'images/';
	var XS_JS_PATH = XS_ROOT_PATH + 'js/';
	var XS_CSS_PATH = XS_ROOT_PATH + 'css/';

	var strThisPath = location.pathname;
	var strThisFile = '';
	
	var strThisFile = strThisPath.replace( XS_ROOT_PATH, '' );
	if( strThisFile.indexOf( '.' ) > -1 )
		strThisFile = strThisFile.substring( 0, strThisFile.lastIndexOf( '.' ) );
	else
		strThisFile += 'index';
		
	/*
		Prototype Section Begins
	*/
		
	String.prototype.UnEscapeString = function(){
		var strValue = this;
		aryEscapeCodes = new Array( '%3A,:', '%2F,/', '%2E,.', '%5F,_', '%26,&', '%3D,=', '%2B,+' );
		for( intCodes = 0; intCodes < aryEscapeCodes.length; intCodes++ ){
			aryTemp = aryEscapeCodes[intCodes].split( ',' );
			objRegExp = new RegExp( '\\' + aryTemp[0], 'gi' );
			strValue = strValue.replace( objRegExp, aryTemp[1] );
		}
		return strValue;
	};
	
	String.prototype.strip = function( strStripWhat ){
		var strToModify = this;
		switch( strStripWhat.toLowerCase() ){
			case 'punc':
			case 'punctuation':
				strToModify = strToModify.replace( /[\\+]+/gi, ' ' );
				var RegExpPattern = new RegExp( '[\\s\\w\\d]+', 'gi' );
				var objMatch = strToModify.match( RegExpPattern );
				strToModify = objMatch.toString( '' ).replace( /[\\,]+/g, '' )
				return strToModify;
				break;
			default:
				return strToModify;
		}
	};
	
	String.prototype.trim = function(){
		strToModify = this;
		var RegExpPattern = new RegExp( '^[\\s]+', 'gi' );
		strToModify = strToModify.replace( RegExpPattern, '' );
		var RegExpPattern = new RegExp( '[\\s]+$', 'gi' );
		strToModify = strToModify.replace( RegExpPattern, '' );
		return strToModify;
	};
	
	String.prototype.escapeURL = function(){
		var strValue = this;
		aryEscapeCodes = new Array( ':,%3A', '/,%2F', '.,%2E', '_,%5F', '&,%26', '=,%3D', '©,%A9', 'Ã,%C3' );
		for( intCodes = 0; intCodes < aryEscapeCodes.length; intCodes++ ){
			aryTemp = aryEscapeCodes[intCodes].split( ',' );
			objRegExp = new RegExp( '[\\' + aryTemp[0] + ']', 'gi' );
			strValue = strValue.replace( objRegExp, aryTemp[1] );
		}
		return strValue;
	};
	
	String.prototype.escapeString = function(){
		var strValue = this;
		aryEscapeCodes = new Array( '&,&amp;', '",&quot;', '<,&lt;', '>,&gt;' );
		for( intCodes = 0; intCodes < aryEscapeCodes.length; intCodes++ ){
			aryTemp = aryEscapeCodes[intCodes].split( ',' );
			objRegExp = new RegExp( '[\\' + aryTemp[0] + ']', 'gi' );
			strValue = strValue.replace( objRegExp, aryTemp[1] );
		}
		return strValue;
	};
	
	/*
		Prototype Section Ends
	*/

	function AddEvent( objElement, strEvent, funcAction ){
		try{
			objElement.attachEvent( 'on' + strEvent, function(){ eval( funcAction ) } );
		}
		catch(e){
			try{
				objElement.addEventListener( strEvent, function(){ eval( funcAction ) } , false );
			}
			catch(e){}
		}
	}
	
	function IsValidInput( objElementPassed ){
		var objRegExp = new RegExp( '[\\\<\\\%3ca]+script', 'gi' );
		var objNewLineRegExp = new RegExp( '[\\\n\\\r]+', 'gi' );
		var objCleanupRegExp = new RegExp( "[^\\\w^\\\d^\\\s^\\\']*", "g" );
		var blnSubmitForm = true;
		if( typeof objElementPassed == 'object' ){
			for( var i = 0; i < objElementPassed.elements.length; i++ ){
				if( objElementPassed.elements[i].type == 'text' || objElementPassed.elements[i].type == 'textarea' ){
					var strToTest = objElementPassed.elements[i].value.replace( objNewLineRegExp, '' );
					strToTest = strToTest.replace( objCleanupRegExp, '' );
					objElementPassed.elements[i].value = strToTest;
				}
			}
			if( blnSubmitForm ){
				objElementPassed.submit();
				return true;
			}
		}
		else if( typeof objElementPassed == 'string' ){
			var strToTest = objElementPassed.replace( objNewLineRegExp, '' );
			strToTest = strToTest.replace( objNewLineRegExp, '' );
			strToTest = strToTest.replace( objCleanupRegExp, '' );
			return strToTest;
		}
	}

	function GetBreadCrumb(){
		if( strThisFile != 'index' )
			return '<a href="/index.html" class="BreadCrumbLink">Home</a> > ' + $T();
		else
			return '';
	}
