var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101382&x=748',
		'title': '',
		'imageId': '69101382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101381&x=748',
		'title': '',
		'imageId': '69101381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101383&x=748',
		'title': '',
		'imageId': '69101383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101384&x=748',
		'title': '',
		'imageId': '69101384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101385&x=748',
		'title': '',
		'imageId': '69101385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101725&x=748',
		'title': '',
		'imageId': '69101725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101727&x=748',
		'title': '',
		'imageId': '69101727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101726&x=748',
		'title': '',
		'imageId': '69101726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101728&x=748',
		'title': '',
		'imageId': '69101728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101729&x=748',
		'title': '',
		'imageId': '69101729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101730&x=748',
		'title': '',
		'imageId': '69101730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101733&x=748',
		'title': '',
		'imageId': '69101733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101736&x=748',
		'title': '',
		'imageId': '69101736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101742&x=748',
		'title': '',
		'imageId': '69101742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101747&x=748',
		'title': '',
		'imageId': '69101747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101751&x=748',
		'title': '',
		'imageId': '69101751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101750&x=748',
		'title': '',
		'imageId': '69101750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101759&x=748',
		'title': '',
		'imageId': '69101759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101756&x=748',
		'title': '',
		'imageId': '69101756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101765&x=748',
		'title': '',
		'imageId': '69101765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101768&x=748',
		'title': '',
		'imageId': '69101768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101771&x=748',
		'title': '',
		'imageId': '69101771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101774&x=748',
		'title': '',
		'imageId': '69101774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101777&x=748',
		'title': '',
		'imageId': '69101777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101788&x=748',
		'title': '',
		'imageId': '69101788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101797&x=748',
		'title': '',
		'imageId': '69101797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101800&x=748',
		'title': '',
		'imageId': '69101800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101803&x=748',
		'title': '',
		'imageId': '69101803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101807&x=748',
		'title': '',
		'imageId': '69101807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101811&x=748',
		'title': '',
		'imageId': '69101811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101814&x=748',
		'title': '',
		'imageId': '69101814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101819&x=748',
		'title': '',
		'imageId': '69101819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101820&x=748',
		'title': '',
		'imageId': '69101820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101823&x=748',
		'title': '',
		'imageId': '69101823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973247&docid=69101826&x=748',
		'title': '',
		'imageId': '69101826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973247';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
