var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678360&x=1415',
		'title': '',
		'imageId': '68678360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678363&x=1415',
		'title': '',
		'imageId': '68678363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678361&x=1415',
		'title': '',
		'imageId': '68678361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678362&x=1415',
		'title': '',
		'imageId': '68678362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678366&x=1415',
		'title': '',
		'imageId': '68678366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678372&x=1415',
		'title': '',
		'imageId': '68678372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678376&x=1415',
		'title': '',
		'imageId': '68678376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678377&x=1415',
		'title': '',
		'imageId': '68678377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678378&x=1415',
		'title': '',
		'imageId': '68678378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678381&x=1415',
		'title': '',
		'imageId': '68678381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678384&x=1415',
		'title': '',
		'imageId': '68678384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678389&x=1415',
		'title': '',
		'imageId': '68678389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678390&x=1415',
		'title': '',
		'imageId': '68678390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678393&x=1415',
		'title': '',
		'imageId': '68678393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678396&x=1415',
		'title': '',
		'imageId': '68678396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678399&x=1415',
		'title': '',
		'imageId': '68678399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678402&x=1415',
		'title': '',
		'imageId': '68678402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678407&x=1415',
		'title': '',
		'imageId': '68678407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678408&x=1415',
		'title': '',
		'imageId': '68678408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678411&x=1415',
		'title': '',
		'imageId': '68678411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678414&x=1415',
		'title': '',
		'imageId': '68678414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954213&docid=68678359&x=1415',
		'title': '',
		'imageId': '68678359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954213';

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