$.fn.typingText= function(options){
setting.delayChar=setting.delayChar.slice(0,1);
if($(document).scrollTop()>=setting.start){
$(this).css('display','block');
window.text=$(this).text();
window.textLength=window.text.length;
setting.delayChar='^\\'+setting.delayChar;
$(this).html('<span class="textLine"></span>');
$(this).append('<span class="blinkingLine">|</span>');
window.blinking=setInterval(function(){
$('.blinkingLine').animate({opacity:0},300);
$('.blinkingLine').animate({opacity:1},300);
window.that.children('.textLine').text(window.text.substr(0,window.char));
window.lastChar=window.that.children('.textLine').text().slice(window.that.children('.textLine').text().length-1);
if(window.char>window.textLength){
window.that.children('.textLine').text(window.that.children('.textLine').text().substr(0,window.textLength));
$('.blinkingLine').remove();
clearInterval(window.startTyping);
clearInterval(window.blinking);
clearInterval(window.checking);
window.startTyping=setInterval(type,setting.speed);
window.checking= setInterval(function(){
if(!window.delaying || typeof window.delaying=='undefined' || window.timer>=setting.delay){
if(window.lastChar.match('^\\?') || window.lastChar.match('^\\.') || window.lastChar.match('^\\!') || window.lastChar.match(setting.delayChar)){
if(window.timer>=setting.delay){
window.startTyping=setInterval(type,setting.speed);
clearInterval(window.startTyping);
window.timer=window.timer+50;
$('#title').typingText();
$('#title2').typingText();