var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959382&x=4925',
		'title': '',
		'imageId': '68959382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959379&x=4925',
		'title': '',
		'imageId': '68959379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959437&x=4925',
		'title': '',
		'imageId': '68959437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959293&x=4925',
		'title': '',
		'imageId': '68959293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959295&x=4925',
		'title': '',
		'imageId': '68959295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959296&x=4925',
		'title': '',
		'imageId': '68959296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959297&x=4925',
		'title': '',
		'imageId': '68959297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959294&x=4925',
		'title': '',
		'imageId': '68959294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959301&x=4925',
		'title': '',
		'imageId': '68959301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959307&x=4925',
		'title': '',
		'imageId': '68959307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959298&x=4925',
		'title': '',
		'imageId': '68959298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959309&x=4925',
		'title': '',
		'imageId': '68959309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959310&x=4925',
		'title': '',
		'imageId': '68959310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959315&x=4925',
		'title': '',
		'imageId': '68959315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959316&x=4925',
		'title': '',
		'imageId': '68959316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959320&x=4925',
		'title': '',
		'imageId': '68959320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959323&x=4925',
		'title': '',
		'imageId': '68959323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959328&x=4925',
		'title': '',
		'imageId': '68959328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959329&x=4925',
		'title': '',
		'imageId': '68959329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959335&x=4925',
		'title': '',
		'imageId': '68959335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959334&x=4925',
		'title': '',
		'imageId': '68959334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959338&x=4925',
		'title': '',
		'imageId': '68959338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959341&x=4925',
		'title': '',
		'imageId': '68959341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959344&x=4925',
		'title': '',
		'imageId': '68959344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959345&x=4925',
		'title': '',
		'imageId': '68959345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959346&x=4925',
		'title': '',
		'imageId': '68959346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959349&x=4925',
		'title': '',
		'imageId': '68959349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959354&x=4925',
		'title': '',
		'imageId': '68959354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959355&x=4925',
		'title': '',
		'imageId': '68959355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959360&x=4925',
		'title': '',
		'imageId': '68959360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959361&x=4925',
		'title': '',
		'imageId': '68959361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959364&x=4925',
		'title': '',
		'imageId': '68959364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959367&x=4925',
		'title': '',
		'imageId': '68959367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959377&x=4925',
		'title': '',
		'imageId': '68959377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959380&x=4925',
		'title': '',
		'imageId': '68959380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966468&docid=68959381&x=4925',
		'title': '',
		'imageId': '68959381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966468';

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