/***************************///@Author: Adrian "yEnS" Mato Gondelle & Ivan Guardado Castro//@website: www.yensdesign.com//@email: yensamg@gmail.com//@license: Feel free to use it, but keep this credits please!					/***************************/$(document).ready(function(){	//global vars	var searchBoxes = $(".text");	var searchBox1 = $("#search1");	var searchBox2 = $("#search2");	var searchBox2Default = "Search";		//Effects for both searchbox	searchBoxes.focus(function(e){		$(this).addClass("active");	});	searchBoxes.blur(function(e){		$(this).removeClass("active");	});		//Searchbox1, set focus when document is ready	searchBox1.focus();		//Searchbox2 show/hide default text if needed	searchBox2.focus(function(){		if($(this).attr("value") == searchBox2Default) $(this).attr("value", "");	});	searchBox2.blur(function(){		if($(this).attr("value") == "") $(this).attr("value", searchBox2Default);	});});$(document).ready(function(){  addEvent(window, 'load', initCorners);  function initCorners() {    var settings = {      tl: { radius: 5 },      tr: { radius: 5 },      bl: { radius: 5 },      br: { radius: 5 },      antiAlias: true    }    /*    Usage:    curvyCorners(settingsObj, selectorStr);    curvyCorners(settingsObj, Obj1[, Obj2[, Obj3[, . . . [, ObjN]]]]);    selectorStr ::= complexSelector [, complexSelector]...    complexSelector ::= singleSelector[ singleSelector]    singleSelector ::= idType | classType    idType ::= #id    classType ::= [tagName].className    tagName ::= div|p|form|blockquote|frameset // others may work    className : .name    selector examples:      #mydiv p.rounded      #mypara      .rounded    */    curvyCorners(settings, ".rounded");  }    });
