var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718030&x=1048',
		'title': '',
		'imageId': '68718030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718031&x=1048',
		'title': '',
		'imageId': '68718031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718032&x=1048',
		'title': '',
		'imageId': '68718032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718033&x=1048',
		'title': '',
		'imageId': '68718033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718034&x=1048',
		'title': '',
		'imageId': '68718034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718035&x=1048',
		'title': '',
		'imageId': '68718035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718036&x=1048',
		'title': '',
		'imageId': '68718036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718037&x=1048',
		'title': '',
		'imageId': '68718037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718038&x=1048',
		'title': '',
		'imageId': '68718038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718039&x=1048',
		'title': '',
		'imageId': '68718039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718040&x=1048',
		'title': '',
		'imageId': '68718040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718041&x=1048',
		'title': '',
		'imageId': '68718041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718042&x=1048',
		'title': '',
		'imageId': '68718042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718043&x=1048',
		'title': '',
		'imageId': '68718043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718044&x=1048',
		'title': '',
		'imageId': '68718044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718045&x=1048',
		'title': '',
		'imageId': '68718045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718046&x=1048',
		'title': '',
		'imageId': '68718046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718047&x=1048',
		'title': '',
		'imageId': '68718047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718048&x=1048',
		'title': '',
		'imageId': '68718048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718049&x=1048',
		'title': '',
		'imageId': '68718049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718050&x=1048',
		'title': '',
		'imageId': '68718050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955535&docid=68718051&x=1048',
		'title': '',
		'imageId': '68718051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955535';

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