"; } else { return "\n\t\t" . $str . "\n\t\t"; } } function imgTags($src, $width, $height, $usemap, $alt, $bgc){ $usemap = trim($usemap); if (strlen($usemap) > 0) $usemap = " usemap=\"#" . $usemap . "\""; if (strlen($bgc) > 0){ return " " .$bgc. "> \"$alt\""; } else { return "\"$alt\""; } } function getRandomNum($numImages){ $mt = microtime(); $n = 1000000; srand ((double) $mt * $n); //randomize // return rand(0,($numImages - 1)); // code change after moving to new server 3/03 return (int) ($mt * $numImages); } // This .php code randomly chooses a "window information" to display // The window images have three components: // 1) leftImage- An imaged mapped graphic containing quicklinks // and the left side of the window image // // 2) rightImage- A graphic containing the right side of the window image // // 3) caption - A related html page describing the chosen window // $myhour = date("H"); $myday = date("w"); $windowInfo = array ( array( leftImage=>"oacis_right_full.gif", rightImage=>"left_long2.gif", newsImage=>"geo1.gif", caption=>"caption01.htm"), array( leftImage=>"oacis_right_tree.gif", rightImage=>"left_long.jpg", newsImage=>"news2.gif", caption=>"caption04.htm"), array( leftImage=>"oacis_right_twow.gif", rightImage=>"left_long.jpg", newsImage=>"geo1.gif", caption=>"caption02.htm"), array( leftImage=>"oacis_right_mira.gif", rightImage=>"left_long2.gif", newsImage=>"news1.gif", caption=>"caption03.htm") ); // number of window images $pictCount = count($windowInfo); // choose window information based on the index in the array $r = getRandomNum($pictCount); $outStr = tdTags(0, imgTags($windowInfo[$r][leftImage], 266, 583, "quicklinks", "", "") . " ") ; $newsStr = tdTags( 0, imgTags($windowInfo[$r][newsImage], 50, 50, "", "news mosaic", "")); $rgtStr = tdTags( 1, imgTags($windowInfo[$r][rightImage], 27, 134, "", "mosaic column", "bgcolor= #3399CC")) ; $capStr = " \"Click"; // print $outStr; ?>

GENERAL INFORMATION
He Who taught (the writing) by the Pen
OACIS for the Middle East (Online Access to Consolidated Information on Serials) is a union list of serials from or about the Middle East. The mission of OACIS is to improve access to Middle Eastern serials in libraries in the United States, Europe, and the Middle East.

The OACIS Project / press releases / proposal / advisory board /
member universities and libraries / "On the Road" / project information / project development status / project surveys, statistics, and evaluations

Funding / Department of Education's Technological Innovation and Cooperation for Foreign Information Access Program. / TICFIA Grants to Institutions of Higher Education. / Conditions of Publication /

For more information, contact the project investigators:

We now have 19 participating universities and libraries! See our member list.
Please send us your comments using our feedback form.

Contact Us / Yale University Library / Yale University / YaleInfo
2002-2005 Yale University Library
This file last modified 9/29/2005
Send comments to
Yale University Library : OACIS Search OACIS Near East Collection Ask! a Librarian a Reference Question Select and Go to a Mirror Site