var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051922&x=5538',
		'title': '',
		'imageId': '68051922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051923&x=5538',
		'title': '',
		'imageId': '68051923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051924&x=5538',
		'title': '',
		'imageId': '68051924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051925&x=5538',
		'title': '',
		'imageId': '68051925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051926&x=5538',
		'title': '',
		'imageId': '68051926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051927&x=5538',
		'title': '',
		'imageId': '68051927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051928&x=5538',
		'title': '',
		'imageId': '68051928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051929&x=5538',
		'title': '',
		'imageId': '68051929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051930&x=5538',
		'title': '',
		'imageId': '68051930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051931&x=5538',
		'title': '',
		'imageId': '68051931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051932&x=5538',
		'title': '',
		'imageId': '68051932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936432&docid=68051933&x=5538',
		'title': '',
		'imageId': '68051933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936432';

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