// JavaScript Document



function kieferStory() 

{

	var gibsonDisplay = document.getElementById('gpop');

	gibsonDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/gibson.jpg") no-repeat left top';



	var kieferDisplay = document.getElementById('kpop');

	kieferDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/kiefer-o.jpg") no-repeat left top';

	

	var rhiannaDisplay = document.getElementById('rpop');

	rhiannaDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/rhianna.jpg") no-repeat left top';

	

	var pictureDisplay = document.getElementById('news-feature');

	pictureDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/kiefer-full.jpg") no-repeat left top';

	pictureDisplay.innerHTML = '<a href="legalnews.html#kiefer"></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="legalnews-people-090507.html">[...]</a></p>';

}



function rihannaStory() 

{

	var gibsonDisplay = document.getElementById('gpop');

	gibsonDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/gibson.jpg") no-repeat left top';



	var kieferDisplay = document.getElementById('kpop');

	kieferDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/kiefer.jpg") no-repeat left top';

	

	var rhiannaDisplay = document.getElementById('rpop');

	rhiannaDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/rhianna-o.jpg") no-repeat left top';

	

	var pictureDisplay = document.getElementById('news-feature');

	pictureDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/rhianna-full.jpg") no-repeat left top';

	pictureDisplay.innerHTML = '<a href="legalnews.html#rihanna"></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="legalnews-people-090622.html">[...]</a></p>';

}



function gibsonStory() 

{

	var gibsonDisplay = document.getElementById('gpop');

	gibsonDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/gibson-o.jpg") no-repeat left top';



	var kieferDisplay = document.getElementById('kpop');

	kieferDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/kiefer.jpg") no-repeat left top';

	

	var rhiannaDisplay = document.getElementById('rpop');

	rhiannaDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/rhianna.jpg") no-repeat left top';

	

	var pictureDisplay = document.getElementById('news-feature');

	pictureDisplay.style.background = 'url("http://www.attorney-criminal-dui.com/images/gibson-full.jpg") no-repeat left top';

	pictureDisplay.innerHTML = '<a href="legalnews.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&rsquo;s illegal to tape someone without their knowledge but it&rsquo;s sometimes allowed in domestic violence situations," says L.A. criminal defense attorney Steve Sitkoff. "But the law in that regard isn&rsquo;t clear cut; there&rsquo;s lots of gray area <a href="legalnews-people-100718.html">[...]</a></p>';

}



function page1()

{

	var textDisplay = document.getElementById('certified-specialist');

	textDisplay.innerHTML = '<h4><a href="profiles.html#sitkoff">FORMER <strong>SUPERIOR COURT COMMISSIONER</strong></a></h4><p class="lead"><img id="firm" src="images/sitkoff.jpg" alt="Takakjian & Sitkoff" align="left"><strong>Criminal Defense Attorney Steve Sitkoff, Esq.</strong></p><p>A former Los Angeles County Deputy District Attorney and Los Angeles County Superior Court Commissioner.</p><p>To hire a professional local criminal defense lawyer for cases from traffic tickets and drunk driving to the most serious Felony cases, please call us. Our fees are reasonable, we will reply promptly and we can help you! <strong>(888) 579-4844</strong></p>';

	var linkDisplay = document.getElementById('choose');

	linkDisplay.innerHTML = '<a id="larrow" onClick="page4()"></a><a onClick="page1()" class="active"></a><a onClick="page2()"></a><a onClick="page3()"></a><a onClick="page4()"></a><a id="rarrow" onClick="page2()"></a>';

}



function page2()

{

	var textDisplay = document.getElementById('certified-specialist');

	textDisplay.innerHTML = '<h4><a href="profiles.html#sowers">FORMER <strong>POLICE DETECTIVE</strong></a></h4><p class="lead"><img id="firm" src="images/sowers.jpg" alt="Takakjian & Sitkoff" align="left"><strong>Criminal Defense Attorney Don Sowers, Esq.</strong></p><p>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 &amp; Seizure and Evidence for over 16 years. Mr. Sowers was recently named the Southwestern University School of Law &quot;Alumnus of the Year 2000.&quot; 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="page1()"></a><a onClick="page1()"></a><a onClick="page2()" class="active"></a><a onClick="page3()"></a><a onClick="page4()"></a><a id="rarrow" onClick="page3()"></a>';

}



function page3()

{

	var textDisplay = document.getElementById('certified-specialist');

	textDisplay.innerHTML = '<h4><a href="profiles.html#takakjian">CERTIFIED <strong>SPECIALIST</strong></a></h4><p class="lead"><img id="firm" src="images/takakjian.jpg" alt="Takakjian & Sitkoff" align="left"><strong>Criminal Defense Attorney Paul Takakjian, Esq.</strong></p><p>A former Los Angeles County Deputy District Attorney and is a State Bar of California Certified Criminal Law Specialist.* The California State Bar has a &quot;program designed to help you find skilled specialists. Lawyers qualify by showing that they have extensive experience and tested ability in their field of law are allowed to advertise as &lsquo;Certified&rsquo; specialists.&quot;</p>';

	var linkDisplay = document.getElementById('choose');

	linkDisplay.innerHTML = '<a id="larrow" onClick="page2()"></a><a onClick="page1()"></a><a onClick="page2()"></a><a onClick="page3()" class="active"></a><a onClick="page4()"></a><a id="rarrow" onClick="page4()"></a>';

}



function page4()

{

	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 & Sitkoff" align="left">Together, our partners have more than 60 years of 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 <a href="http://www.attorney-criminal-dui.com">Orange County criminal defense lawyer</a> to determine whether proper Police Procedures were followed or if your Criminal Law or Constitutional Rights were violated. Your lawyer will keep you informed and provide you the best possible service and resolution of your criminal case.</p>';

	var linkDisplay = document.getElementById('choose');

	linkDisplay.innerHTML = '<a id="larrow" onClick="page3()"></a><a onClick="page1()"></a><a onClick="page2()"></a><a onClick="page3()"></a><a onClick="page4()" class="active"></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.attorney-criminal-dui.com/images/button.gif','http://www.attorney-criminal-dui.com/images/button1.jpg','http://www.attorney-criminal-dui.com/images/button2.jpg','http://www.attorney-criminal-dui.com/images/chris-full.jpg','http://www.attorney-criminal-dui.com/images/chris-o.jpg','http://www.attorney-criminal-dui.com/images/chris.jpg','http://www.attorney-criminal-dui.com/images/rhianna-full.jpg','http://www.attorney-criminal-dui.com/images/rhianna-o.jpg','http://www.attorney-criminal-dui.com/images/rhianna.jpg','http://www.attorney-criminal-dui.com/images/kiefer-full.jpg','http://www.attorney-criminal-dui.com/images/kiefer.jpg','http://www.attorney-criminal-dui.com/images/kiefer-o.jpg','http://www.attorney-criminal-dui.com/images/gibson-full.jpg','http://www.attorney-criminal-dui.com/images/gibson-o.jpg','http://www.attorney-criminal-dui.com/images/gibson.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';	

}


