var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947335&docid=68524433&x=831',
		'title': '',
		'imageId': '68524433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947335&docid=68524436&x=831',
		'title': '',
		'imageId': '68524436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947335&docid=68524439&x=831',
		'title': '',
		'imageId': '68524439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947335&docid=68524443&x=831',
		'title': '',
		'imageId': '68524443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947335&docid=68524446&x=831',
		'title': '',
		'imageId': '68524446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947335&docid=68524449&x=831',
		'title': '',
		'imageId': '68524449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947335&docid=68524452&x=831',
		'title': '',
		'imageId': '68524452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947335&docid=68524455&x=831',
		'title': '',
		'imageId': '68524455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947335&docid=68524458&x=831',
		'title': '',
		'imageId': '68524458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947335&docid=68524461&x=831',
		'title': '',
		'imageId': '68524461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947335';

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