// JavaScript Document

var cimagesdir="images_collections/";
var cdata=[['Chrome Hearts',' http://chromehearts.com/','The edgy, rock star style appeals to trendsetters around the world. Designer Richard Stark\'s eyewear line includes distinctive handmade frames made with sterling silver, exotic woods, 23k gold or precious stones. They incorporate many signature gothic motif-crosses, daggers and are worn by Seal, Heidi Klum and Eva Longoria.'],

['Oliver Peoples','http://oliverpeoples.com/',
'Designed by Larry Leight, Oliver Peoples is a highly adored brand among the rich and beautiful around the world. It is a luxury eyewear company from L.A. and is famous for being the first choice of Hollywood stars. The originators of "retro" eyewear have recently released their 20th anniversary collection.'],

['LA Eyeworks','http://laeyeworks.com/',
'la Eyeworks is a brand synonymous with American eyeglass design. They are worn by those with creative minds and an unmistakable desire to express that fact to the world. The brand was popularized by its huge appeal to a wide range of vibrant celebrities, most notably Sir Elton John, who continues to be a strong supporter. The striking nature of LA Eyeworks frames are matched by a high quality of design and unique materials. '],

['Lafont','http://www.lafont.com/Home.aspx',
'Known as a top designer of unique and stylish frames, Laurence Lafont\'s line is infused with French flair and Parisian elegance. Lafont eyeglasses are designed and manufactured in Paris using the highest quality materials and finishes, such as rich acetates and pure metals.'],

['Salt','http://saltoptics.com/',
'Inspired by the need for eyewear that is stylish, technically advanced and appropriate for their lifestyle, the founders of Salt set out to provide the optical industry with an alternative to conglomerates and licensed brands. Built on the guiding principles of independence, quality and timeless design, Salt has shown that there is room in the marketplace for a company that thinks differently than the rest.'],

['Alain Mikli','http://www.mikli.com',
'These classic French designs are always the forefront of optical fashion. Worn by stars, musicians, fashion designers and others who seek out fashionable sophisticated glasses. Alain has always been an international leader in eyewear design whose exclusive plastics set eyewear trends with vibrant colors.'],
 
['Francis Klein','http://francisklein.com/',
'Francis Klein frames are characterized by their exquisite cat eye designs utilizing Swarovski crystals and hand etching. They make great specs for evening wear or for extravagant daywear. They use unusual materials imbedded within, such as gold leaf, lace and feathers. Each frame is handmade in France and originally takes several months for U.S. delivery. '],

['Barton Perreira','http://bartonperreira.com/',
'Dedicated to pure luxury, Barton Perreira\'s approach to fashion redefines style and elegance. Patty Perreira\'s language of inspired design focuses on the evolution process and continues to challenge the industry by unveiling the next new thing. As a newcomer to high-end eyewear, they are truly a breath of fresh air. Angelina Jolie and Mariah Carey have been spotted in Barton Perreira shades'],

['Zero G','http://www.zerogeyewear.com/', 'The name Zero G (zero gravity) speaks for itself as it feels weightless on the face. Created by Tom Cody, a long-time industry friend, Zero G has quickly become the standard in flat sheet metal design. Made of titanium, it combines a palette of rich colors along with a sophisticated "four squares" branding design. Dr. Schultz wears a Zero G sunglass on our home page.'],

['Initium','http://initiumeyewear.com/','"Music-inspired for the vision- impaired,"Initium features a selection of music-inspired, modern-vintage frames worn by members of Alkaline Trio, Green Day and Linkin Park. Not intended for the connoisseur of conservative vision correction, they offer bold ophthalmic shapes constructed of rich acetate. Gwen Stefani and Katie Holmes have also been spotted in Initium sunglasses.'],

['Todd Rogers','http://www.toddrogerseyewear.com/', 'A brand of eyewear fashioned for the human canvas… born out of years spent studying countless faces. It represents the love of quality materials and attention to detail. It’s simple, classic and timeless. Todd loves designing them. We think you will love wearing them, too.'],

['Paul Frank','http://baumvision.com/',
'Paul Frank Optometrics consists of sun and eyeglasses in vintage shapes and outstanding color combinations. All models are made from acetate, a high quality natural plastic and are therefore very resistant to scratches and damage. Produced in collaboration with designer Shane Baum, they are the choice of the young and hip'],

['Funk Royal Optics','http://www.funk.de/',
'Funk is a German brand designed by Dj Dieter Funk and is committed to the manufacturing of cool sunglasses and stylish eyewear. Funk Royal Optics limited collections are hand made from Japanese plastics with only 100 pieces per model/color. It became especially popular with musicians and bands (Busta Rymes wears Funk shades in his music videos) because of its innovative fish-bone temple. "Funk is a philosophy, an attitude, a lifestyle."'],

['Ray-Ban','http://www.ray-ban.com/',
'Classic Ray Ban sunglasses offer quality, style and exceptional value. The timeless shapes of Ray Bans are always in style. Generations of Ray Ban sunglasses wearers will be forever cool. The Wayfarer will always be remembered for its roll in Risky Business and Jack Nicholson court-side. They are available in prescription, clear and/or sun. '],

['Maui Jim','http://www.mauijim.com/webapp/wcs/stores/servlet/LanguageSelectionForm_10001_11601',
'Maui Jim sunglasses hit the market in 1996 and continue to deliver the best sun protection to this day. With their relaxed Hawaiian origin, they have focused on sport and active styles with an occasional flair for fashion. Their patented lenses are multi-layered polarized and come in four colors including the new \'high-transmission\' lens. They are available in prescription and non-prescription, single vision and progressive and offer 100% UV protection. David Caruso is always seen wearing Maui Jim\'s in CSI:Miami.'],


['Oakley','',
'For years, Oakley has been the leading name in sports eyewear. Whether it\'s BMX biking, snowboarding, golf, motor sports, or everything in between, athletes all share the need for optics that withstand the harshest environments and deliver the absolute best in clarity. Most Oakley eyeglasses and sunglasses can be done with or without prescription lenses. Check out the X-Games to catch the latest styles. '],


['Nike','',
'Nike is the world\'s largest athletic company. The Nike mission is to bring inspiration and innovation to every athlete in the world. Nike\'s eyewear collection meets the needs of every athlete*, from the elite to the sport inspired. True to its mission, the Nike eyewear collection offers superior technology such as Nike\'s patented Max Optics, secure wrap temples, and Flexon memory metal. Nike eyewear offers something for everyone. ']];



function cpreload() { //v3.0
  var d=document;
  if(d.images){
	  if(!d.MM_p) 
	    d.MM_p=new Array();
      var i,j=d.MM_p.length;
	  for(i=0; i<cdata.length; i++)
        if (cdata[i][0].indexOf("#")!=0){
			d.MM_p[j]=new Image; 
			d.MM_p[j++].src=cimagesdir+cdata[i][0]+'.jpg' ;
		}
  }
}

function cswap(e){
  var x=document.getElementById('office');
  x.src=cimagesdir+cdata[e.id][0]+'.jpg';
  e.style.backgroundColor='#DAD4DC';
  var y=document.getElementById('officetext');
  y.innerHTML='<span style="font-size:18px;">'+cdata[e.id][0]+'</span><br/><br/>'+cdata[e.id][2];
}

function cout(e){
 e.style.backgroundColor='transparent';
 var x=document.getElementById('office');
  x.src=cimagesdir + 'office.jpg';
  var y=document.getElementById('officetext');
  y.innerHTML='';

}

function cnav(e){
  if(cdata[e.id][1]!='')
    window.location=cdata[e.id][1];	
 }