var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947169&docid=68514330&x=380',
		'title': '',
		'imageId': '68514330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947169&docid=68514334&x=380',
		'title': '',
		'imageId': '68514334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947169&docid=68514333&x=380',
		'title': '',
		'imageId': '68514333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947169&docid=68514329&x=380',
		'title': '',
		'imageId': '68514329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947169&docid=68514337&x=380',
		'title': '',
		'imageId': '68514337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947169&docid=68514336&x=380',
		'title': '',
		'imageId': '68514336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947169&docid=68514340&x=380',
		'title': '',
		'imageId': '68514340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947169&docid=68514342&x=380',
		'title': '',
		'imageId': '68514342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947169&docid=68514341&x=380',
		'title': '',
		'imageId': '68514341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947169&docid=68514335&x=380',
		'title': '',
		'imageId': '68514335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947169&docid=68514343&x=380',
		'title': '',
		'imageId': '68514343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947169';

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