function makeMeFooterPlease()
{
     $("#footer").append("<div id='copyright'><br/><br/><p>©2001 - 2010 Институт Новых Образовательных Технологий<br/>©2010 - 2011 Центр Инновационных Технологий в Образовании <br/>Заочное образование в ВУЗах Москвы</p><p>Телефон в Москве: (495) 506-85-63<br />Телефон в Санкт-Петербурге: (812) 314-50-01</p></div><div id='footer_menu'><a href='../news.html'>Новости</a>&nbsp;|&nbsp;<a href='../abiturientu.html'>Абитуриенту</a>&nbsp;|&nbsp;<a href='../student.html'>Студенту</a>&nbsp;|&nbsp;<a href='../spec.html'>Направления</a>&nbsp;|&nbsp;<a href='../vuz.html'>Учебные заведения</a>&nbsp;|&nbsp;<a href='../regions.html'>География</a>&nbsp;|&nbsp;<a href='../about.html'>О нас</a>&nbsp;|&nbsp;<a href='../contacts/contact.html'>Контакты</a></div>");
}

function makeMeKnopka()
{
	zvk='<form action="php/sendmail.php" style="padding-top:40px" method="POST"><label for="name">Имя:</label><input type="text" class="input" name="name" placeholder="Иванов Иван"><br /><label for="email">E-mail:</label><input type="email" class="input" name="email" placeholder="Введите свой e-mail"><br /><label for="message">Ваша заявка:</label><textarea class="input textarea" name="message" placeholder="Содержимое письма" rows="5"></textarea><br /><input type="submit" class="button" value="Отправить"></form>';
	vopros='<form action="php/vopros.php" method="POST" style="padding-top:40px"><label for="name">Имя:</label><input type="text" class="input" name="name" placeholder="Иванов Иван"><br /><label for="email">E-mail:</label><input type="email" class="input" name="email" placeholder="Введите свой e-mail"><br /><label for="region">Ваш регион:</label><input type="text" class="input" name="region" placeholder="Укажите Ваш город или район"><br /><label for="message">Ваш вопрос:</label><textarea class="input textarea" name="message" placeholder="Ваш вопрос"></textarea><br /><input type="submit" class="button" value="Отправить"></form>';
	zvonok='<form action="php/zvonok.php" method="POST" style="padding-top:40px"><label for="name">Имя:</label><input type="text" class="input" name="name" placeholder="Иванов Иван"><br /><label for="number">Куда звонить:</label><input type="text" class="input" name="number" placeholder="+7 (ХХХ) ХХХ-ХХ-ХХ"><br /><label for="email">Когда звонить:</label><input type="text" class="input" name="time" placeholder="Указывайте московское время"><br /><input type="submit" class="button" value="Отправить"><br /></form>';
     $("#zvk").append(zvk);
     $("#vprs").append(vopros);
     $("#zvnk").append(zvonok);
}

function makeMeHeaderB()
{
    headeR='<div id="top"><div id="logo"><a href="../index.html" style="position:absolute;z-index:5;width:263px;height:110px;" ></a><img onclick=`GoTo("index.html")` src="../img/logo.png"/></div><div id="slog"><img src="../img/slog.png"/></div><ul id="mainmenu"><li><a id="sudentLink" href="../student.html">Студенту</a></li><li><a id="abitLink" href="../abiturientu.html"> Абитуриенту</a></li><li><a id="newsLink" href="../news.html">Новости</a></li><li><a  id="vuzLink" href="../vuz.html">Учебные заведения</a></li><li><a id="specLink" href="../spec.html">Направления</a></li><li><a id="aboutLink" href="../about.html">О нас</a></li><li><a id="contactMenu" href="../contacts/contact.html">Контакты</a></li><li><a id="regionsLink" href="../regions.html">География</a></li></ul></div>';
    headerBottom='<div id="bottom"><p id="ph">телефон в Москве</p><img id="imgph" src="../img/all_ph.png"/><div id="menu3" class="right">   <a href="../spec.html" id="firstBut"><img src="../img/select_spec.png" /></a>    <a href="../contacts/contact.html" id="secondBut"><img src="../img/rest_call.png" /></a><a id="thirdBut"><img src="../img/rest_study.png" /></a></div></div>';
     $("#header").append(headeR+headerBottom);
     $("#menu3 a>img").css({"border":"none"});
}

function makeMeSsilka()
{
	zayavka='<a href="../spec.html" id="back" class="right">Направления</a><div id="didyou"><br /><br /><br /><br /></div><div id="trigger"><font color="#278CB8" style="font-family:Lucida Grande, Lucida Sans Unicode, Tahoma, sans-serif" size="+1"><b><a href="#" rel="popuprel" class="popup">Заявка на поступление</a></b></font></div><div class="popupbox" id="popuprel"><div id="intabdiv"><div id="form-inner"><form action="http://www.ano-inot.ru/php/sendmail.php" method="POST"><br /><br /><label for="name">Имя:</label><input type="text" class="input" name="name" placeholder="Иванов Иван"><br /><label for="email">E-mail:</label><input type="email" class="input" name="email" placeholder="primer@primer.ru"><br /><label for="message">Ваш вопрос:</label><textarea class="input textarea" name="message" placeholder="Содержимое письма" rows="5"></textarea><br /><input type="submit" class="button" value="Отправить"></form></div></div>';
	$("#left").append(zayavka);
}   
 
function cityList(page)
{
     $("#cityList").append('<li><a href="contact.html"  id="moscow">Москва</a></li><li><a href="spb.html" id="ity">Санкт-Петербург</a></li>');
     $("#"+page).css({
        "font-size":"21px",
        "color":"#e57918"
     });
     
     
}
function Hide(id)
{
	
  if ($("#"+id).is(":hidden"))
  {
  	$("#"+id).show("slow");
  	}
  	else
  	{
  		$("#"+id).hide("slow");
	}
}

function GoTo(link)
{
    window.location=link;
}
