// JavaScript Document

function gibsonStory() 
{
	var gibsonDisplay = document.getElementById('gpop');
	gibsonDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/gibson-o.jpg") no-repeat left top';

	var kieferDisplay = document.getElementById('kpop');
	kieferDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/kiefer.jpg") no-repeat left top';
	
	var rhiannaDisplay = document.getElementById('rpop');
	rhiannaDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/rhianna.jpg") no-repeat left top';
	
	var pictureDisplay = document.getElementById('news-feature');
	pictureDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/gibson-full.jpg") no-repeat left top';
	pictureDisplay.innerHTML = '<a href="news.html#gibson"></a>';
	
	var storyDisplay = document.getElementById('news-story');
	storyDisplay.innerHTML = '<p id="news-lead">Could Mel Gibson Go to Jail?<br><span class="grey-text"> - <em>People Magazine</em></span></p><p>""In general, it’s illegal to tape someone without their knowledge but it’s sometimes allowed in domestic violence situations," says L.A. criminal defense attorney Steve Sitkoff. "But the law in that regard isn’t clear cut; there’s lots of gray area <a href="news-people-100718.html">[...]</a></p>';
}

function kieferStory() 
{
	var gibsonDisplay = document.getElementById('gpop');
	gibsonDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/gibson.jpg") no-repeat left top';

	var kieferDisplay = document.getElementById('kpop');
	kieferDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/kiefer-o.jpg") no-repeat left top';
	
	var rhiannaDisplay = document.getElementById('rpop');
	rhiannaDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/rhianna.jpg") no-repeat left top';
	
	var pictureDisplay = document.getElementById('news-feature');
	pictureDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/kiefer-full.jpg") no-repeat left top';
	pictureDisplay.innerHTML = '<a href="news.html#kiefers"></a>';
	
	var storyDisplay = document.getElementById('news-story');
	storyDisplay.innerHTML = '<p id="news-lead">Kiefer Sutherland to Surrender to NYPD over Scuffle<span class="grey-text"> - <em>People Magazine</em></span></p><p>"If Sutherland&rsquo;s found in violation of probation for battery, and if he was intoxicated at the time, he could very well be sentenced to another 48 days or more," says Steve Sitkoff, an L.A. criminal defense attorney <a href="news-people-090507.html">[...]</a></p>';
}

function rhiannaStory() 
{
	var gibsonDisplay = document.getElementById('gpop');
	gibsonDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/gibson.jpg") no-repeat left top';

	var kieferDisplay = document.getElementById('kpop');
	kieferDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/kiefer.jpg") no-repeat left top';
	
	var rhiannaDisplay = document.getElementById('rpop');
	rhiannaDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/rhianna-o.jpg") no-repeat left top';
	
	var pictureDisplay = document.getElementById('news-feature');
	pictureDisplay.style.background = 'url("http://www.former-district-attorneys.com/images/rhianna-full.jpg") no-repeat left top';
	pictureDisplay.innerHTML = '<a href="news.html#steves"></a>';
	
	var storyDisplay = document.getElementById('news-story');
	storyDisplay.innerHTML = '<p id="news-lead">Steve Sitkoff on Chris Brown Case<br><span class="grey-text"> - <em>People Magazine</em></span></p><p>"Rihanna is the biggest player shaping what happens next. She can make or break the case," California criminal defense lawyer Steve Sitkoff is quoted in a recent issue of People Magazine <a href="news-people-090323.html">[...]</a></p>';
}


function page1()
{
	var textDisplay = document.getElementById('certified-specialist');
	textDisplay.innerHTML = '<h4><a href="profiles.html#takakjian" title="Paul Takakjian - Certified Criminal Law Specialist">Certified <strong>Specialist</strong></a></h4><p><strong>The California State Bar has a "program designed to help you find skilled specialists."</strong></p><p>Lawyers qualify by showing that they have extensive experience and tested ability in Criminal Law are allowed to advertise as “Certified” Criminal Law Specialists. California Criminal Defense Attorney Don Sowers, Esq. is a former Los Angeles County Deputy District Attorney, Police Detective and Vehicular Homicide Investigator. He is also an Instructor at the Los Angeles County Sheriff&rsquo;s Academy where he has taught Criminal Laws of Arrest, Search & Seizure and Evidence for over 16 years. Mr. Sowers was recently named the Southwestern University School of Law "Alumnus of the Year 2000." California Criminal Defense Attorney Steve Sitkoff, Esq. is a former Los Angeles County Deputy District Attorney and Los Angeles County Superior Court Commissioner.</p>';
	var linkDisplay = document.getElementById('choose');
	linkDisplay.innerHTML = '<a id="larrow" onClick="page3()"></a><a onClick="page1()"><strong>1</strong></a><a onClick="page2()">2</a><a onClick="page3()">3</a><a id="rarrow" onClick="page2()"></a>';
}

function page2()
{
	var textDisplay = document.getElementById('certified-specialist');
	textDisplay.innerHTML = '<h4><a href="aboutus.html" title="About our Los Angeles Criminal Defense Law Firm">The <strong>Firm</strong></a></h4><p><strong>The key to a successful resolution of your case is seeking a qualified California criminal defense attorney.</strong></p><p>Together, our partners have more than 60 years of California Felony and Misdemeanor Criminal Defense, Criminal Law Investigation, Prosecution, Judicial, Criminal Trial and Criminal Case Settlement Experience. You can have confidence that this uniquely qualifies each criminal defense lawyer as a EXPERT to determine whether proper California Police Procedures were followed or if your Criminal Law or Constitutional Rights were violated. Your criminal defense lawyer will keep you informed and provide you the best possible service and resolution of your criminal case or DUI or DMV driver license suspension.</p>';
	var linkDisplay = document.getElementById('choose');
	linkDisplay.innerHTML = '<a id="larrow" onClick="page1()"></a><a onClick="page1()">1</a><a onClick="page2()"><strong>2</strong></a><a onClick="page3()">3</a><a id="rarrow" onClick="page3()"></a>';
}

function page3()
{
	var textDisplay = document.getElementById('certified-specialist');
	textDisplay.innerHTML = '<h4><a href="contact.html" title="Free Consultations">Free <strong>Consultation</strong></a></h4><p><img id="firm" src="images/firm.jpg" alt="Takakjian Sowers & Sitkoff" align="left"><strong>We are California Criminal Defense Attorneys and a Los Angeles DUI Defense Law Firm you can trust.</strong></p><p>To hire a professional local California criminal defense lawyer for cases from traffic tickets and drunk driving - DUI or DMV Drivers License Suspensions to the most serious Felony cases from drugs or sex crimes to murder, please call a Los Angeles criminal defense lawyer 24 hours a day at one of our many convenient Law Firm locations throughout Southern California. Please call us. Our fees are reasonable, we will reply promptly and we can help you!</p>';
	var linkDisplay = document.getElementById('choose');
	linkDisplay.innerHTML = '<a id="larrow" onClick="page2()"></a><a onClick="page1()">1</a><a onClick="page2()">2</a><a onClick="page3()"><strong>3</strong></a><a id="rarrow" onClick="page1()"></a>';
}

function simplePreload()
{ 
  var args = simplePreload.arguments;
  document.imageArray = new Array(args.length);
  for(var i=0; i<args.length; i++)
  {
    document.imageArray[i] = new Image;
    document.imageArray[i].src = args[i];
  }
}

preload = function() {
	simplePreload('http://www.former-district-attorneys.com/images/button.gif','http://www.former-district-attorneys.com/images/button1.jpg','http://www.former-district-attorneys.com/images/button2.jpg','http://www.former-district-attorneys.com/images/gibson-full.jpg','http://www.former-district-attorneys.com/images/gibson-o.jpg','http://www.former-district-attorneys.com/images/gibson.jpg','http://www.former-district-attorneys.com/images/rhianna-full.jpg','http://www.former-district-attorneys.com/images/rhianna-o.jpg','http://www.former-district-attorneys.com/images/rhianna.jpg','http://www.former-district-attorneys.com/images/kiefer-full.jpg','http://www.former-district-attorneys.com/images/kiefer.jpg','http://www.former-district-attorneys.com/images/kiefer-o.jpg');
}

if (window.attachEvent) window.attachEvent("onload", preload);


function hideMenu()
{
	var menuDisplay1 = document.getElementById('popout1');
	menuDisplay1.style.visibility = 'hidden';
	var menuDisplay2 = document.getElementById('popout2');
	menuDisplay2.style.visibility = 'hidden';
}

function showMenu1()
{
	var menuDisplay1 = document.getElementById('popout1');
	menuDisplay1.style.visibility = 'visible';
	var menuDisplay2 = document.getElementById('popout2');
	menuDisplay2.style.visibility = 'hidden';	
}

function showMenu2()
{
	var menuDisplay1 = document.getElementById('popout1');
	menuDisplay1.style.visibility = 'hidden';
	var menuDisplay2 = document.getElementById('popout2');
	menuDisplay2.style.visibility = 'visible';	
}
