﻿<!--
// Kayan yazı Başlagıcı
	
	var slideTimeBetweenSteps = 100;	// General speed variable (Lower = slower)
	
	
	var scrollingContainer = false;
	var scrollingContent = false;
	var containerHeight;
	var contentHeight;	
	
	var contentObjects = new Array();
	var originalslideSpeed = false;
	function slideContent(containerId)
	{
		var topPos = contentObjects[containerId]['objRef'].style.top.replace(/[^\-0-9]/g,'');
		topPos = topPos - contentObjects[containerId]['slideSpeed'];
		if(topPos/1 + contentObjects[containerId]['contentHeight']/1<0)topPos = contentObjects[containerId]['containerHeight'];
		contentObjects[containerId]['objRef'].style.top = topPos + 'px';
		setTimeout('slideContent("' + containerId + '")',slideTimeBetweenSteps);
		
	}
	
	function stopSliding()
	{
		var containerId = this.id;
		contentObjects[containerId]['slideSpeed'] = 0;	
	}
	
	function restartSliding()
	{
		var containerId = this.id;
		contentObjects[containerId]['slideSpeed'] = contentObjects[containerId]['originalSpeed'];
		
	}
	function initSlidingContent(containerId,slideSpeed)
	{
		scrollingContainer = document.getElementById(containerId);
		scrollingContent = scrollingContainer.getElementsByTagName('DIV')[0];
		
		scrollingContainer.style.position = 'relative';
		scrollingContainer.style.overflow = 'hidden';
		scrollingContent.style.position = 'relative';
		
		scrollingContainer.onmouseover = stopSliding;
		scrollingContainer.onmouseout = restartSliding;
		
		originalslideSpeed = slideSpeed;
		
		scrollingContent.style.top = '0px';
		
		contentObjects[containerId] = new Array();
		contentObjects[containerId]['objRef'] = scrollingContent;
		contentObjects[containerId]['contentHeight'] = scrollingContent.offsetHeight;
		contentObjects[containerId]['containerHeight'] = scrollingContainer.clientHeight;
		contentObjects[containerId]['slideSpeed'] = slideSpeed;
		contentObjects[containerId]['originalSpeed'] = slideSpeed;
		
		slideContent(containerId);
		
	}
	
//Kayan Yazı Sonu


<!-- Begin

// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON

// ONLY USE lowercase FOR ALL OPTIONS





var paragraph_1 	= "yes"		// SHOW THE 1ST PARAGRAPH
var paragraph_2 	= "yes"		// SHOW THE 2ND PARAGRAPH
var showimage		= "yes"		// SHOW A SIDEBAR IMAGE

var topspacing		= "10"		// NUDGE SIDEBAR DOWN
var sidewidth		= "125"		// SIDEBAR WIDTH





// NUDGE SPACER
document.write('<img src="picts/spacer.gif" height="'+topspacing+'" width="'+sidewidth+'"><br><br><br><br>');

document.write('<table cellpadding="5" cellspacing="10" border="0" class="sidebartext-right"><tr><td>');




// SMALL PICTURE AREA

   if (showimage == "yes") 
{
document.write("<br>");
document.write("<br>");
document.write("");
document.write("<table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.write("  <tr>");
document.write("    <td align=\"center\">");
document.write(" ");
document.write("<object id=\"FlashID\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"175\" height=\"105\">");
document.write("  <param name=\"movie\" value=\"Animasyon\/SeoCad final.swf\" \/>");
document.write("  <param name=\"quality\" value=\"high\" \/>");
document.write("  <param name=\"wmode\" value=\"opaque\" \/>");
document.write("  <param name=\"swfversion\" value=\"9.0.45.0\" \/>");
document.write("  <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->");
document.write("  <param name=\"expressinstall\" value=\"Scripts\/expressInstall.swf\" \/>");
document.write("  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->");
document.write("  <!--[if !IE]>-->");
document.write("  <object type=\"application\/x-shockwave-flash\" data=\"Animasyon\/SeoCad final.swf\" width=\"175\" height=\"105\">");
document.write("    <!--<![endif]-->");
document.write("    <param name=\"quality\" value=\"high\" \/>");
document.write("    <param name=\"wmode\" value=\"opaque\" \/>");
document.write("    <param name=\"swfversion\" value=\"9.0.45.0\" \/>");
document.write("    <param name=\"expressinstall\" value=\"Scripts\/expressInstall.swf\" \/>");
document.write("    <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->");
document.write("    <div>");
document.write("      <h4>Content on this page requires a newer version of Adobe Flash Player.<\/h4>");
document.write("      <p><a href=\"http:\/\/www.adobe.com\/go\/getflashplayer\"><img src=\"http:\/\/www.adobe.com\/images\/shared\/download_buttons\/get_flash_player.gif\" alt=\"Get Adobe Flash player\" width=\"112\" height=\"33\" \/><\/a><\/p>");
document.write("    <\/div>");
document.write("    <!--[if !IE]>-->");
document.write("  <\/object>");
document.write("  <!--<![endif]-->");
document.write("<\/object>");

document.write("    <\/td>");
document.write("  <\/tr>");
document.write("<\/table> ");
document.write("");
document.write("<br>");
document.write("<br>");

}







// START RIGHT SIDEBAR AREA PARAGRAPH 2 EDIT THIS AREA


// START RIGHT SIDEBAR AREA PARAGRAPH 1 EDIT THIS AREA

   if (paragraph_1 == "yes") {

document.write('<fieldset><legend>');

document.write('Duyurular:<br></legend>');
document.write("<div id=\"scrollingContainer\">");
document.write("		<div id=\"scrollingContent\">");


document.write(' Japonya\'nın önde gelen Servo, Step Motor ve Sürücüsü olan Sanyo Denki firması Sanpa Endüstriyel Otomasyon tarafında Türkiye pazarı için satılmaya başlanmıştır.<br><br>');
document.write('Sanpa Endüstriyel Otomasyon 25 – 28 Şubat 2010 tarihleri arasında düzenlenecek olan WIN\'10-2. Faz\'a katılacaktır.<br><br>');
document.write('Türkiye\'nin ilk 5 Eksende kod üreten Cad/Cam programı(SEO Cad/Cam) Sanpa Endüstriyel Otomasyon tarafından yazılmıştır.<br><br>');
document.write("		<\/div>");
document.write("	<\/div>");
initSlidingContent('scrollingContainer',2);
document.write('</fieldset>');
document.write('<br><br>');

}
// END RIGHT SIDEBAR AREA PARAGRAPH 1









   if (paragraph_2 == "no") {

document.write('<fieldset><legend>');

document.write('Duyurular:<br></legend>');

document.write('Sanpa  New  Automation  technology  Sanpa  New  Automation  technology  Sanpa  New  Automation  technology  Sanpa New Automation technology <a href="contact.htm">Contact us...</a><br>');
document.write('Sanpa New Automation technology Sanpa New Automation technology Sanpa New Automation technology  Sanpa New Automation technology ');
document.write('</fieldset>');
document.write('<br><br>');

}
// END RIGHT SIDEBAR AREA PARAGRAPH 2







document.write('</td></tr></table>');


// -- END -->