var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537392&x=3313',
		'title': '',
		'imageId': '68537392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537437&x=3313',
		'title': '',
		'imageId': '68537437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537382&x=3313',
		'title': '',
		'imageId': '68537382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537383&x=3313',
		'title': '',
		'imageId': '68537383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537400&x=3313',
		'title': '',
		'imageId': '68537400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537395&x=3313',
		'title': '',
		'imageId': '68537395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537434&x=3313',
		'title': '',
		'imageId': '68537434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537359&x=3313',
		'title': '',
		'imageId': '68537359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537356&x=3313',
		'title': '',
		'imageId': '68537356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537364&x=3313',
		'title': '',
		'imageId': '68537364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537365&x=3313',
		'title': '',
		'imageId': '68537365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537368&x=3313',
		'title': '',
		'imageId': '68537368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537353&x=3313',
		'title': '',
		'imageId': '68537353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537401&x=3313',
		'title': '',
		'imageId': '68537401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537421&x=3313',
		'title': '',
		'imageId': '68537421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537424&x=3313',
		'title': '',
		'imageId': '68537424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537431&x=3313',
		'title': '',
		'imageId': '68537431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537440&x=3313',
		'title': '',
		'imageId': '68537440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537447&x=3313',
		'title': '',
		'imageId': '68537447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537450&x=3313',
		'title': '',
		'imageId': '68537450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537453&x=3313',
		'title': '',
		'imageId': '68537453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537352&x=3313',
		'title': '',
		'imageId': '68537352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537338&x=3313',
		'title': '',
		'imageId': '68537338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537344&x=3313',
		'title': '',
		'imageId': '68537344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537341&x=3313',
		'title': '',
		'imageId': '68537341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537347&x=3313',
		'title': '',
		'imageId': '68537347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537335&x=3313',
		'title': '',
		'imageId': '68537335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537337&x=3313',
		'title': '',
		'imageId': '68537337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537374&x=3313',
		'title': '',
		'imageId': '68537374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537336&x=3313',
		'title': '',
		'imageId': '68537336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537381&x=3313',
		'title': '',
		'imageId': '68537381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537387&x=3313',
		'title': '',
		'imageId': '68537387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537389&x=3313',
		'title': '',
		'imageId': '68537389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537371&x=3313',
		'title': '',
		'imageId': '68537371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3794099&docid=68537404&x=3313',
		'title': '',
		'imageId': '68537404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3794099';

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";
	})
}
