var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960103&x=352',
		'title': '',
		'imageId': '68960103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960105&x=352',
		'title': '',
		'imageId': '68960105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960123&x=352',
		'title': '',
		'imageId': '68960123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960124&x=352',
		'title': '',
		'imageId': '68960124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960106&x=352',
		'title': '',
		'imageId': '68960106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960108&x=352',
		'title': '',
		'imageId': '68960108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960120&x=352',
		'title': '',
		'imageId': '68960120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960110&x=352',
		'title': '',
		'imageId': '68960110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960117&x=352',
		'title': '',
		'imageId': '68960117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960118&x=352',
		'title': '',
		'imageId': '68960118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960121&x=352',
		'title': '',
		'imageId': '68960121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960119&x=352',
		'title': '',
		'imageId': '68960119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960104&x=352',
		'title': '',
		'imageId': '68960104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960111&x=352',
		'title': '',
		'imageId': '68960111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960115&x=352',
		'title': '',
		'imageId': '68960115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960107&x=352',
		'title': '',
		'imageId': '68960107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960109&x=352',
		'title': '',
		'imageId': '68960109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960113&x=352',
		'title': '',
		'imageId': '68960113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960122&x=352',
		'title': '',
		'imageId': '68960122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960114&x=352',
		'title': '',
		'imageId': '68960114',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960112&x=352',
		'title': '',
		'imageId': '68960112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68960116&x=352',
		'title': '',
		'imageId': '68960116',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966485&docid=68991732&x=352',
		'title': '',
		'imageId': '68991732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966485';

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