first of all i would like to tell u that...i have around 10 to 12 function in java script . i want to call 2 or 3 of them on the event when control get focus and other function i used by that main 2 or 3 functions.i have this all functions for virtual keypad...What i want to do is that...in my web site...i would like to add virtual keypad as on the master page(i have already created virtual keypad in java script using html form).i have already added that code into a master page....and my keypad is working...but it is only with simple html controls...that is (having no runat="server" attribute)..that is in this i am calling function when html textbox get focus and it is wroking...but i don't know how to call this functions from content or child pages ...my code is as below:--(this code for javascript that i added in master page...this is part of code(not full))\[code\]<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage2.master.cs" Inherits="MasterPage2" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><title></title><script language="javascript" type="text/javascript">function setId(el) { id = el;//alert(el);document.getElementById(id).focus();reset();return 0;}function restoreCode(evt) {ButtonUp(kcode);} function writeKeyPressed(evt) { InsertChar('k', kcode); return false; };function InsertChar(mode, c) {document.getElementById(id).focus();}function ButtonDown(c) { reset();} function ButtonUp(c) {//codesresets();}function Shift() { //codes}</script>\[/code\]when i am calling it from content page that is html of asp control..not having runat="server" attribute in code then it will work. when i am calling it from content page that is html of asp control..having runat="server" attribute in code then it will not work. please any one tell me solution that i will call my function (having on the master page) using server side control from content page.