// LUCASARTS.COM HEADLINES
//    Code and content copyright (c) 2007 Lucasfilm, Ltd. All rights reserved.

// CREATE NEW HEADLINE RECORD
function hline ( h_title, h_url, h_post_date, h_category )
{
   this.h_title = h_title
   this.h_url = h_url
   this.h_post_date = h_post_date
   this.h_category = h_category
}

// MAKE ARRAY OF HEADLINES
headlines = new Array(

   new hline( "LucasArts and TT Games Bring Back the Award-Winning LEGO&#174; Star Wars&#8482; Series with LEGO&#174; <i>Star Wars&#8482; III: The Clone Wars</i>&#8482;", "http://www.lucasarts.com/company/release/news20100208.html", "2010-02-08" ),
   new hline( "LucasArts Announces <i>Star Wars&#174;: The Force Unleashed&#153; II</i>", "http://www.lucasarts.com/company/release/news20091212.html", "2009-12-12" ),
   new hline( "LucasArts Announces <i>Lucidity</i>&#153;</i>", "http://www.lucasarts.com/company/release/news20090911.html", "2009-09-11" ),
   new hline( "<i>Star Wars: The Force Unleashed</i> Expands Again!", "http://www.lucasarts.com/company/release/news20090724.html", "2009-07-24" ),    new hline( "Ahoy Matey! The Secret of <i>Monkey Island</i>&#174;: Special Edition Now Available!", "http://www.lucasarts.com/company/release/news20090715.html", "2009-07-15" ), 
   new hline( "Back by Popular Demand, LOOM, The Dig, <i>Indiana Jones</i> and the Fate of Atlantis, and <i>Star Wars</i> Battlefront II Headline List of Games Soon to be Available via Direct Download!", "http://www.lucasarts.com/company/release/news20090706.html", "2009-07-06" ),   
   new hline( "Shiver me timbers! <i>Monkey Island</i> Is Back This Summer!", "http://www.lucasarts.com/games/monkeyisland", "2009-06-01" ),   
   new hline( "LEGO <i>Indiana Jones</i> Whips Up A New Adventure", "http://www.lucasarts.com/company/release/news20090529.html", "2009-05-26" ),   
   new hline( "<i>Star Wars</i> Battlefront: Elite Squadron Storms PSP and Nintendo DS this Fall", "http://www.lucasarts.com/games/swbattlefrontelitesquadron/", "2009-05-26" ),   
   new hline( "<i>Star Wars</i> The Clone Wars: Republic Heroes Comes to the Rescue This September ", "http://www.lucasarts.com/games/theclonewars_republicheroes/", "2009-05-11" ),     
   new hline( "For those of you in the Twitterverse, be sure to follow us @LucasArtsGames ", "http://twitter.com/lucasartsgames", "2009-05-11" ),  
   new hline( "Become of fan of Indiana Jones and the Staff of Kings on Facebook. Feel more like Indy than ever!", "http://www.facebook.com/pages/Indiana-Jones-and-the-Staff-of-Kings/60951123944", "2009-05-11" ),  
   new hline( "Become a fan of Indiana Jones and the Staff of Kings on MySpace. Feel more like Indy than ever! ", "http://www.myspace.com/indysok", "2009-05-11" ),              
   new hline( "LucasArts and Activision Publishing Renew Pan-European, Southeast Asia and Australian Distribution Deal", "http://www.lucasarts.com/company/release/news20090306.html", "2009-03-06" ),  
   new hline( "Indiana Jones and the Staff of Kings</i> Ushers in a New Adventure", "http://www.lucasarts.com/games/indianajones/", "2009-02-02" ),  
   new hline( "<i>Star Wars: The Clone Wars</i> Battles Its Way To Wii and Nintendo DS", "http://www.lucasarts.com/company/release/news20081111.html", "2008-11-11" ),  
   new hline( "Lucasarts and BioWare Reveal <i>Star Wars</i>: The Old Republic", "http://www.lucasarts.com/company/release/news20081021.html", "2008-10-21" ),  
   new hline( "Fracture Blasts Its Way Onto Retail", "http://www.lucasarts.com/company/release/news20081007.html", "2008-10-07" ),   
   new hline( "Fracture Demo Now Available", "http://www.lucasarts.com/company/release/news20080918.html", "2008-09-18" ),    
   new hline( "The Force, Released!", "http://www.lucasarts.com/company/release/news20080916.html", "2008-09-16" ),     
   new hline( "Fracture Demo Available Sept. 18!", "http://www.lucasarts.com/company/release/news20080910.html", "2008-09-10" ),  
   new hline( "LucasArts, Sony Computer Entertainment America and Best Buy Invite San Francisco to Celebrate the Launch of <i>Star Wars&#174;: The Force Unleashed&#8482;</i>", "http://www.lucasarts.com/company/release/news20080905.html", "2008-09-05" ),  
   new hline( "Lucasarts And Sony Online Entertainment Launch The Star Wars Galaxies Online Trading Card Game", "http://www.lucasarts.com/company/release/news20080827.html", "2008-08-27" ),   
   new hline( "Demo for Star Wars: The Force Unleashed Now Available", "http://www.lucasarts.com/company/release/news20080816.html", "2008-08-16" ),   
   new hline( "New websites launched for Star Wars The Clone Wars: Lightsaber Duels and Jedi Alliance", "http://www.lucasarts.com/games/theclonewars", "2008-08-08" ),
   new hline( "LucasArts releases the launch trailer for Star Wars:  The Force Unleased", "http://www.lucasarts.com/games/theforceunleashed", "2008-07-10" ),
   new hline( "Entertainment Weekly premiers the launch trailer for Star Wars: The Force Unleashed. Check it out now at www.ew.com", "http://www.ew.com", "2008-07-09" ),
   new hline( "LucasArts launches website with more information about the new Star Wars: The Clone Wars video game", "http://www.lucasarts.com/games/theclonewars", "2008-06-19" ),
   new hline( "Master the Lightsaber this Holiday with Star Wars: The Clone Wars on Wii and Nintendo DS", "http://www.lucasarts.com/company/release/news20080619.html", "2008-06-19" ),
   new hline( "Discuss Fracture and interact with other fans at the new Fracture Community Website", "http://community.fracturegame.com", "2008-05-30" ),
   new hline( "New Fracture Website Launches", "http://www.fracturegame.com", "2008-05-30" ),
   new hline( "The Force Unleashed Website Unveiled!", "http://www.lucasarts.com/games/theforceunleashed", "2008-04-03" ),
   new hline( "The Force Will Be Unleashed on September 16", "http://www.lucasarts.com/company/release/news20080403.html", "2008-04-03" ),
   new hline( "Darrell Rodriguez Named President of LucasArts", "http://www.lucasarts.com/company/release/news20080402.html", "2008-04-02" ),
   new hline( "Lucasarts and BioWare Corp. to Create Ground-Breaking Interactive Entertainment Product", "http://www.lucasarts.com/company/release/news20071030.html", "2007-10-30" ),
   new hline( "<i>Star Wars</i> Battlefront: Renegade Squadron Now Available Exclusively for the PSP System", "http://www.lucasarts.com/company/release/news20071009.html", "2007-10-09" ),
   new hline( "LucasArts to Unleash the Force on the Wii in Spring 2008", "http://www.lucasarts.com/company/release/news20070918a.html", "2007-09-18" ),
   new hline( "If Family Adventure Has a Name, It Must Be LEGO&#174; Indiana Jones: The Videogame", "http://www.lucasarts.com/company/release/news20070727.html", "2007-07-27" ),
   new hline( "Sony Computer Entertainment America to offer limited-edition entertainment packs with newly designed PSP®", "http://www.lucasarts.com/company/release/news20070712.html", "2007-07-11" ),
   new hline( "LucasArts' <i>Thrillville</i> Goes <i>Off the Rails</i> for 2007", "http://www.lucasarts.com/company/release/news20070703.html", "2007-07-03" ),
   new hline( "Play Through All Six Classic Movies for the First Time Ever in LEGO&#174; <i>Star Wars</i>&#153;: The Complete Saga", "http://www.lucasarts.com/company/release/news20070525.html", "2007-05-24" ),
   new hline( "<i>Star Wars</i> Galaxies&#153; Chapter 6:  Masters of the Wild", "http://www.lucasarts.com/company/release/news20070525b.html", "2007-05-23" ),
   null
);

// WRITE HEADER
if ( typeof artscom_header == 'undefined' || artscom_header ) {
	document.write( '<strong>LucasArts Headlines</strong><br>' );
	document.write( '<small>The latest from <a href=\"http://www.lucasarts.com\" target=\"_blank\">' );
	if ( typeof artscom_linkcolor != 'undefined' )
		 { document.write( '<font color=\"' + artscom_linkcolor + '\">LucasArts.com</font>' ); }
	else { document.write( 'LucasArts.com' ); }
	document.write( '</a></small><br />' );
}

// SET NUMBER OF LINKS
if ( typeof artscom_numheadlines == 'undefined' )
	{ artscom_numheadlines = 6; }

	if ( typeof artscom_bullet == 'undefined' || artscom_bullet )
    	{ document.write( '<ul>' ); }
	else
    	{ document.write( '<img src=\"http://www.lucasarts.com/clear.gif\" height=\"5\"><br />' );
}

// LOOP THROUGH WRITING HEADLINES
for ( var i = 0; i < headlines.length - 1 && i < artscom_numheadlines; i++ ) {
	if ( typeof artscom_bullet == 'undefined' || artscom_bullet )
    	{ document.write( '<li>' ); }
    document.write( '<a href=\"' + headlines[i].h_url + '\" target=\"_blank\">' );
	if ( typeof artscom_linkcolor != 'undefined' )
    	{ document.write( '<font color=\"' + artscom_linkcolor + '\">' ); }
    document.write( headlines[i].h_title );
    if ( typeof artscom_linkcolor != 'undefined' )
    	{ document.write( '</font>' ); }
    document.writeln( '</a>' );

	if ( typeof artscom_date != 'undefined' && artscom_date ) {
		document.writeln( '&nbsp;<small>['
			+ headlines[i].h_post_date
			+ ']</small>' );
	if ( typeof artscom_bullet == 'undefined' || artscom_bullet )
    	{ document.write( '</li>' ); }
	else
    { document.write( '<br />' ); }
	}

}

	if ( typeof artscom_bullet == 'undefined' || artscom_bullet )
    	{ document.write( '<br /></ul>' ); }
	else
    	{ document.write( '<br />' );
}

// COPYRIGHT NOTICE
document.write('<small>&nbsp;&#169; <script>var curDate=new Date(); document.write(curDate.getFullYear())</script> Lucasfilm Entertainment Company Ltd.<br />&nbsp;&#169; <script>var curDate=new Date(); document.write(curDate.getFullYear())</script> Lucasfilm Ltd.  All rights Reserved.</small>');

