function longMonthArray() {
	this[0] = "January";	this[1] = "February";	this[2] = "March";
	this[3] = "April";	this[4] = "May";	this[5] = "June";
	this[6] = "July";	this[7] = "August";	this[8] = "September";
	this[9] = "October";	this[10] = "November";	this[11] = "December";
        return (this);
}

function shortMonthArray() {
	this[0] = "Jan";	this[1] = "Feb";	this[2] = "Mar";
	this[3] = "Apr";	this[4] = "May";	this[5] = "Jun";
	this[6] = "Jul";	this[7] = "Aug";	this[8] = "Sep";
	this[9] = "Oct";	this[10] = "Nov";	this[11] = "Dec";
        return (this);
}

function longDayArray() {
	this[0] = "Sunday";	this[1] = "Monday";	this[2] = "Tuesday";
	this[3] = "Wednesday";	this[4] = "Thursday";	this[5] = "Friday";
	this[6] = "Saturday";
        return (this);
}

function shortDayArray() {
	this[0] = "Sun"; this[1] = "Mon"; this[2] = "Tue"; this[3] = "Wed";
	this[4] = "Thu"; this[5] = "Fri"; this[6] = "Sat";
        return (this);
}

function getShortYear(year)
{
shortyear =  year%100;
     if (shortyear < 10) shortyear = "0"+shortyear;
	return shortyear
}

function getLongYear(year)
{
  if (year > 1900) return year
  return year+1900;
}

function writeDateLong(format) {
  shortDays = new shortDayArray();
   longDays = new longDayArray();
   shortMonths = new shortMonthArray();
   longMonths = new longMonthArray();
   d = new Date();
   day = d.getDate();
   month = d.getMonth();
   year = d.getYear();
   if (format == 0)
     str = shortDays[d.getDay()] + " " + shortMonths[month] +". " + day + ", "+getLongYear(year);
  else if (format == 1)
     str = shortDays[d.getDay()] + " " + longMonths[month] + " " + day + ", "+getLongYear(year);
  else if (format == 2)
   str = longDays[d.getDay()] + " " + longMonths[month] + " " + day + ", "+getLongYear(year);
 else if (format == 3)
  str = longMonths[month] + " " + day + ", "+getLongYear(year);
  else if (format == 4)
   str = shortDays[d.getDay()] + " " + day + " " + shortMonths[month] +". " +getLongYear(year);
  else if (format == 5)
   str = shortDays[d.getDay()] + " " + day + " " + longMonths[month] + " " +getLongYear(year);
  else if (format == 6)
  str = longDays[d.getDay()] + " " + day + " " + longMonths[month] + " " + getLongYear(year);
 else if (format == 7)
str = day + " " + longMonths[month] + ", "+getLongYear(year);
else {
month++;
shortyear = getShortYear(year);
     if (format == 8)
       str = month + "/" + day + "/" + shortyear;
     else if (format == 9)
       str = month + "/" + day + "/" + getLongYear(year);
     else if (format == 10)
       str = day + "/" + month + "/" + shortyear;
     else if (format == 11)
       str = day + "/" + month + "/" + getLongYear(year);
     else if (format == 12)
       str = shortyear + "/" + month + "/" + day;
     else if (format == 13)
       str = shortyear + "/" + month + "/" + day;
     else {
        if (day < 10) day = "0"+day
        if (month < 10) month = "0"+month
        if (format == 14)
          str = month + "/" + day + "/" + shortyear;
        else if (format == 15)
          str = month + "/" + day + "/" + getLongYear(year);
        else if (format == 16)
          str = day + "/" + month + "/" + shortyear;
        else if (format == 17)
          str = day + "/" + month + "/" + getLongYear(year);
        else if (format == 18)
          str = shortyear + "/" + month + "/" + day;
        else if (format == 19)
         str = shortyear + "/" + month + "/" + day;
        }
     }
 document.writeln(str.bold().fontsize(3).fontcolor('#330099'));
}

function writeDate()
{
   writeDateLong(0);
}

function writeTimeLong(format)
{
   d = new Date();
   hour=d.getHours();
   min=d.getMinutes();
   sec=d.getSeconds();
   if (hour < 10) hour = "0"+hour;
   if (min < 10) min = "0"+min;
   if (sec < 10) sec = "0"+sec;
   
   if (format == 0)
  str = hour+":"+min+":"+sec;
  else if (format == 1)
  str = hour+":"+min;
   
 document.writeln(str);
}

function writeTime()
{
   writeTimeLong(0);
}

function benjamin (franklin){
window.self.status=franklin;
return true;
} 


function message (ricky){
window.self.status=ricky;
return true;
}
var disclose="eLas Vegas Video Central Page"
var call=message(disclose);
var meet="Meet more friends faster!"
var client_0="Existing clients only!"
var who="Who we are"
var who1="Who we service"
var what="What we do"
var survey="Client Satisfaction survey"
var menu="Menu of services"
var screen="Client login page"
var price="Pricing schedule"
var features="Featured videos"
var skills="Talent \& Skills we video"
var help="eLas Vegas Video Help"
var comments="Ask a question"
var ela="eLas Vegas Video Services"
var press="eLas Vegas Video Press Release"
var ovxx="eLas Vegas Video Overview"
var vidxx="eLas Vegas Video Marketing"
var summer="Best of Summerlin"
var pks="Personnel skills"
var says="What Experts say"
var equip="eLas Vegas Video equipment"
var parts="Partnership inquiries"
var fbn="Beware of Fly-by-Nights"
var profi="Please submit Profile"
var down1="download eLas Vegas literature"
var private="Official privacy policy"
var demos="Brief demonstration videos"
var stream="Sample streaming video"
var top="Return to Top"
var aff="eLas Vegas Statement of Affiliaton"
var sign_up="Existing clients only!"
var video="eLas Vegas Video Service"
var uspto="Copying Prohibited by Law - NAAS is a registered trademark";
var uspto1="Copying Prohibited by Law - HACKER SAFE is a Trademark of ScanAlert";
var utube="View eLas Vegas YouTube Channel"
var myspace="View eLas Vegas  Myspace Channel"
var firstxx="First time clients"
var phx="Phone support hours"
var fash="NAAS fashion apparel"
var rem="Real Estate Marketing"
var ali="Aliante"
var aimxx="eLas Vegas AIM"
var home="eLas Vegas Central Station"
var legal="eLas Vegas Legal Policy"
var dems="eLas Vegas Demo samples"
var prices="eLas Vegas Video Pricing"
var auto_ads="Nevada Auto Clubs"
var google="eLas Vegas Google Page Rank"
var addr="eLas Vegas corporate address"
var emails="Corporate emails"
var models="eLasVegas Video Auditions"
var jobs="eLasVegas Video job openings"
var talent="Talent Promotion packages available"
var sports="Sport Promotion packages available"
var advs="Advertise with eLasVegas Video Services"
var ques="Have a question\?"
var genx="eLasVegas Channel"
//
function reel_y() {
lead ="Thank you for your interest in our\n" 
lead+="eLas Vegas Video Services.\n"
lead+="#######################\n"
lead+="What you are about to watch is a\n"
lead+="very brief demonstration reel that \n"
lead+="highlights the talents of a student\n"
lead+="pianist. The clip is a demo.\n"
lead+="#######################\n"
lead+="For simplicity, we have converted\n"
lead+="the video to a Shock Wave Format.\n"
lead+="The original format was MPEG.\n" 
lead+="MPEG is a finer resolution.\n"
lead+="$$$$$$$$$$$$$$$$$$$$$$$$$$\n"
lead+="For privacy, fictitious names\n"
lead+="are used in this demo. We can use\n"
lead+="real or fictitious names.\n"
lead+="$$$$$$$$$$$$$$$$$$$$$$$$$$\n"
lead+="We can use actual or obscured images.\n"
lead+="What you want, we deliver.\n"
lead+="#######################\n"
lead+="Thank you for your interest.\n";
alert (lead);
return true;
}


function utubby_() {
gec_xx =":::eLas Vegas YouTube channel:::\>\n"
gec_xx+="Visit eLas Vegas YouTube Channel.\n"
gec_xx+="We syndicate videos across the Internet.\n"
gec_xx+="We get you the exposure you need\n"
gec_xx+="to succeed.\n"
gec_xx+="*******************************\n"
alert (gec_xx);
return true;
}

function firstx_() {
gec_xx =":::NEWS: First-time clients:::\>\n"
gec_xx+="Please complete our Profile Summary page.\n"
gec_xx+="Thank you for your anticipated cooperation.\n"
alert (gec_xx);
return true;
}

function models_() {
gec_xx ="::eLasVegas Video Auditions::\>\n"
gec_xx+="If you are interested in becoming an eLasVegas\n"
gec_xx+="model, actor, actress, or voice-over artist,\n";
gec_xx+="Please complete our Special Contact page.\n"
gec_xx+="Thank you for your anticipated cooperation.\n"
alert (gec_xx);
return true;
}

function talent_() {
gec_xx ="::eLasVegas Video Service::\>\n"
gec_xx+="We provide Talent \& Promotion packages.\n"
gec_xx+="Our packages are affordable.\n";
gec_xx+="**************************\n";
gec_xx+="Please complete our Talent Registration \& Promotion Form.\n"
gec_xx+="Thank you for your anticipated cooperation.\n"
alert (gec_xx);
return true;
}

function sport_() {
gec_xx ="::eLasVegas Team Sports Promotion Services::\>\n"
gec_xx+="Still behind your competition\?\n"
gec_xx+="We provide Sport Promotion packages for teams.\n"
gec_xx+="Our packages are affordable.\n";
gec_xx+="**************************\n";
gec_xx+="Please complete our contact form.\n\n"
gec_xx+="Thank you for your anticipated cooperation.\n"
alert (gec_xx);
return true;
}

function feature_() {
gec_xx ="::eLasVegas Video Service::\>\n"
gec_xx+="We provide Featured Video links\n"
gec_xx+="at affordable prices.\n";
gec_xx+="**************************\n";
gec_xx+="We advertise to millions every day.\n\n"
gec_xx+="Thank you for your anticipated cooperation.\n"
alert (gec_xx);
return true;
}

function what_() {
gec_xx ="What we do, Who we service, Who we are:\>\n"
gec_xx+="Sincerely, \neLas Vegas Video\nThank you\!\n"
alert (gec_xx);
return true;
}

function tx_phx_() {
gec_xx =":::We only accept phone calls for product orders:::\>\n"
gec_xx+="or inquiries concerning shipping, returns, or tracking information:::\>\n"
gec_xx+="Customer Order number:(702)-xxx-yyyy\n"
gec_xx+="Days: Monday thru Friday.\n"
gec_xx+="Hours: 9:00am, PDT to 4:00pm, PDT.\n"
gec_xx+="**Inquiries for non-product orders, must be**\n"
gec_xx+="initiated by email contact form or written letter.\n"
alert (gec_xx);
return false;
}

function e_phx_() {
gec_xx =":::Off-line Business Hours:::\>\n"
gec_xx+="Monday thru Friday: 9:00AM to 7:00PM\>\n"
//gec_xx+=":::Promotions: 702-624-7559:::\>\n"
gec_xx+=":::On-line Business Hours:::\>\n"
gec_xx+="24 hours per day via YouTube, MySpace, or Facebook.\>\n"
gec_xx+="***************************\n"
gec_xx+="New clients must submit a contact form.\n"
gec_xx+="Complete Contact form to generate Support Ticket\n"
gec_xx+="if phone support is being requested.\n"
gec_xx+="***************************\n"
alert (gec_xx);
return false;
}

function advertising() {
gec_xx =":::General Advertising Inquiries:::\>\n"
gec_xx+="to advertisise your product or services on our channels,\>\n"
gec_xx+="or to use the elasvegas label, please complete our\n"
gec_xx+="contact form.\n"
gec_xx+="***************************\n"
alert (gec_xx);
return true;
}

function address_() {
gec_xx =":::Nevada Corporate Address:::\>\n"
gec_xx+="Days: Tuesday thru Friday.\n"
gec_xx+="Hours: 9:00am, PDT to 4:00pm, PDT.\n"
gec_xx+="eLasVegas Video, Films and Entertainment\n"
gec_xx+="2248 Meridian Blvd. Suite H\n"
gec_xx+="Minden Nevada.\n"
alert (gec_xx);
return false;
}

function emailx() {
gec_xx =":::eLas Vegas Corporate E-mails::\>\n"
gec_xx+="staff\@elasvegasvideo.com (General)\n"
gec_xx+="films\@elasvegasvideo.com (Filming Inquiries)\n"
gec_xx+="tony\@elasvegasvideo.com (Casting)\n"
gec_xx+="vip\@elasvegasvideo.com (Partnerships)\n"
gec_xx+="reviews\@elasvegasvideo.com (Positions)\n"
alert (gec_xx);
return false;
}

function gec_001_() {
gec_xx =":::USE OF this eLasVegas Contact form:::\>\n"
gec_xx+="This contact form is required for all general\n"
gec_xx+="contact or communications to eLasVegas.\n"
alert (gec_xx);
return true;
}


function links_() {
gec_xx =":::Exchange or Trade links with NAAS:::\>\n"
gec_xx+="Receive Free listing in national NAAS\n"
gec_xx+="newsletter and Scholarship Watch periodicals.\n"
gec_xx+="Receive Free listing in NAAS website.\n"
gec_xx+="==============================\n"
gec_xx+="Purchase an NAAS Button\n"
gec_xx+="Watch your exposure grow!!\n"
alert (gec_xx);
return true;
}

var back ="Back to previous page"
var log="Log out button"
function log_out(){
lead ="\<:::Log-out Message:::\>:\n"
lead+=" You are now logging out of\n"
lead+=" the eLas Vegas Video website.\n"
lead+="**********************************\n"
lead+="Thank you.\n"
lead+="Sincerely yours, \nFrom TEAM eLas Vegas Video Services\n"
alert (lead)
return true;
}

function back_(){
lead ="\<:::Returning to previous page:::\>:\n"
lead+="**********************************\n"
lead+="Thank you.\n"
lead+="Sincerely yours, \n eLas Vegas Video\n"
alert (lead)
return true;
}

function video_() {
gec_xx =":::eLas Vegas Video Message:::\>\n"
gec_xx+=" The premier Video \& Marketing\n"
gec_xx+=" company on the West Coast.\n"
gec_xx+="####################\n"
alert (gec_xx);
return true;
}

function equip() {
gec_xx =":::eLas Vegas Video Equipment:::\>\n"
gec_xx+="We use a variety of equipment.\n"
gec_xx+="We are equipped for both big and\n"
gec_xx+="small jobs.\n"
gec_xx+="####################\n"
alert (gec_xx);
return true;
}

function apparel() {
gec_xx =":::Retail fashion links:::\>\n"
gec_xx+="The eLasVegas apparel link is now\n"
gec_xx+="available to accept your orders.\n"
gec_xx+="####################\n"
gec_xx+="For Upper-case Playyah\'s\n"
alert (gec_xx);
return false;
}

function estore() {
gec_xx =":::Shop eLasVegas:::\>\n"
gec_xx+="Great deals on Beauty, Fashion, Sports apparel,\n"
gec_xx+="electronics, software, and UFC gear.\n"
gec_xx+="####################\n"
gec_xx+="Shop on this site for great deals!\n"
alert (gec_xx);
return true;
}
function usavideo() {
gec_xx ="\<:::Shop USAVIdeo.Biz:::\>\n"
gec_xx+="Great deals from Great companies\!.\n"
gec_xx+="***Visit USAVIDEO.BIZ***\n"
alert (gec_xx);
return true;
}
function sports_promo_() {
gec_xx ="::eLasVegas Video Sports Promotion Service::\>\n"
gec_xx+="Ideal for teams or athletes seeking promotion\n"
gec_xx+="at affordable prices.\n";
gec_xx+="**************************\n";
gec_xx+="We advertise to millions every day.\n\n"
gec_xx+="Thank you for your anticipated cooperation.\n"
alert (gec_xx);
return true;
}

function sports_mmip_() {
gec_xx ="::eLasVegas Video Multi-Media Packet Portfolio:\>\n"
gec_xx+="Ideal for indivdual athletes seeking a multi-media\n"
gec_xx+="high-light reel at affordable prices.\n";
gec_xx+="**************************\n";
gec_xx+="We advertise to millions every day.\n\n"
gec_xx+="Thank you for your anticipated cooperation.\n"
alert (gec_xx);
return true;
}

function red_flags() {
gec_xx ="::Warning Signs of Great vs. Average Companies\>\n"
gec_xx+="Ideal reading for persons still trying to decide\n"
gec_xx+=" or who unsure of how to analyze a company or agent.\n";
gec_xx+="**************************\n";
gec_xx+="We advertise to millions every day.\n\n"
gec_xx+="Thank you for your anticipated cooperation.\n"
alert (gec_xx);
return true;
}

function trademark_n1() {
gec_xx ="::eLasVegas Trademark Notice\>\n"
gec_xx+="eLasVegas is a registered trademark with the\n"
gec_xx+="U.S. Patent & Trademark Office. Any unauthorized use of this mark in\n";
gec_xx+="identical form or any resemblance thereto is illegal and in violation of\n"
gec_xx+="the U.S. Lanham Act, as well as a violation of 15 U.S.C. Sections 1114, 1125(a), etc.\n"
gec_xx+="********************************************************\n"
gec_xx+="The following domain names have no legal merit:\n"
gec_xx+="elasvagas.com, elasvegas.net, elasvegas.biz and elasvegas.us\n\n"
gec_xx+="********************************************************\n";
gec_xx+="Please review the accompanying page for a more complete list.\n"
alert (gec_xx);
return true;
}


function roll_me(naas) {
 var rcefund = 100
 var reel_prt = " ";
 var mouth=reel_prt
 var reel_bits = 1;
var reel="NAAS applications now available only to NAAS subscribers. "
+" Beta version of NAAS Application posted online. Available to subscribers."
+" Enter NAAS Video, Visual Arts, contest. Visit NAAS YouTube channel."
+" January 2008 Scholarship Watch posted on-line for subscribers."
+" National Academy of American Scholars has sponsored merit-based awards "
+" for over 15 years. We have the experience, knowledge, and integrity."
+" New NAAS Video service for NAAS Subscribers. Free for subscribers."
+" More and more services for NAAS Subscribers.  Enter an NAAS contest."
+" Every eligible student in America should apply for an NAAS award."
+" NAAS awards may be used in U.S.A. or abroad. Use an NAAS award at"
+" any college or university, or trade-school. No financial-need required."
+" NAAS awards are the purest of the pure. Parental income too high\?"
+" Don\'t qualify for financial-aid\? Maxed out on loans\? Apply to NAAS."
+" Every eligible student in America should apply for an NAAS award."
+" Before you buy any financial-aid book, read NAAS Rankings of Financial-aid"
+" Books. We review books at no cost, and publish our opinion. "
+" Service is available only to NAAS Subscribers. "
+" NAAS Kids program. A new service for parental NAAS Subscribers. "
+" Need help in sending your child to a private school\?"
+" Are you using debt or student loans to finance your education\? "
+" NAAS Awards do not have to be re-paid back. Congratulations to"
+" NAAS Award nominees for the 17th term. Excellent job!"
+" Review NAAS Award Recipient page. Details for sending transcripts."
+" Still addicted to the U.S. Postage stamp? Calculate your savings "
+" by terminating all paper-based products related to postage stamps."
+" Students and parents continue subscriptions to NAAS NEWS service. "
+" NAAS terminates unnecessary and costly U.S. Postal Service. "
+" Teacher volunteers. Is your child in danger\? No back-ground check"
+" required to become a teacher volunteer in many school districts."
+" No uniform standards in place. Read shocking NAAS Report on Teacher"
+" Volunteers, and NAAS Guidelines on Teacher Volunteers. "
+" Information for parents, students, teachers, and administrators."
+" Review pending Federal legislation that may affect financial aid.";
 if (naas>rcefund) {
  naas--;
  var prince="roll_me(" + naas + ")";
  tag=window.setTimeout(prince,rcefund);
 }
 else if (naas<=rcefund && naas>0) {
  for (reel_bits=0;reel_bits<naas;reel_bits++) {
   reel_prt+=" ";
   if (reel_bits<naas*.5){
   mouth+=" ";
   }
   
  }
  reel_prt+=reel;
  mouth+=reel
  naas--;
  var prince="roll_me("+naas+")";
  //witness this:  self.status="var:("+naas+")"+string;
  //window.status="Test1:("+naas+")"+reel_prt;
  document.table.header.value=mouth
  tag=window.setTimeout(prince,100);
 }
 else if (naas<=0) {
  if (-naas<reel.length) {
   reel_prt+=reel.substring(-naas,reel.length);
   mouth+=reel.substring(-naas,reel.length);
   naas--;
   var prince="roll_me(" + naas + ")";
   //window.status="Test2:("+naas+")"+reel_prt;  
    document.table.header.value=mouth
     tag=window.setTimeout(prince,rcefund+50);

  }
  else {
   window.status=" ";
   tag=window.setTimeout("roll_me(100)",50);
  }
 }
}
function play_it() {
 tag=window.setTimeout("roll_me(100)",500);
}
//runs with index.php, main and members
//


