var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3888765&docid=68283542&x=5429',
		'title': '',
		'imageId': '68283542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888765&docid=68283594&x=5429',
		'title': '',
		'imageId': '68283594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888765&docid=68283607&x=5429',
		'title': '',
		'imageId': '68283607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888765&docid=68283834&x=5429',
		'title': '',
		'imageId': '68283834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888765&docid=68283853&x=5429',
		'title': '',
		'imageId': '68283853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888765&docid=68283875&x=5429',
		'title': '',
		'imageId': '68283875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888765&docid=68283878&x=5429',
		'title': '',
		'imageId': '68283878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888765&docid=68283881&x=5429',
		'title': '',
		'imageId': '68283881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888765&docid=68283947&x=5429',
		'title': '',
		'imageId': '68283947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888765&docid=68284151&x=5429',
		'title': '',
		'imageId': '68284151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3888765';

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