var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025642&x=5127',
		'title': '',
		'imageId': '68025642',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025643&x=5127',
		'title': '',
		'imageId': '68025643',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025644&x=5127',
		'title': '',
		'imageId': '68025644',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025645&x=5127',
		'title': '',
		'imageId': '68025645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025646&x=5127',
		'title': '',
		'imageId': '68025646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025647&x=5127',
		'title': '',
		'imageId': '68025647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025648&x=5127',
		'title': '',
		'imageId': '68025648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025649&x=5127',
		'title': '',
		'imageId': '68025649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025650&x=5127',
		'title': '',
		'imageId': '68025650',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025651&x=5127',
		'title': '',
		'imageId': '68025651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025652&x=5127',
		'title': '',
		'imageId': '68025652',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025653&x=5127',
		'title': '',
		'imageId': '68025653',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025654&x=5127',
		'title': '',
		'imageId': '68025654',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025655&x=5127',
		'title': '',
		'imageId': '68025655',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025656&x=5127',
		'title': '',
		'imageId': '68025656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025657&x=5127',
		'title': '',
		'imageId': '68025657',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025658&x=5127',
		'title': '',
		'imageId': '68025658',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025659&x=5127',
		'title': '',
		'imageId': '68025659',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944726&docid=68025660&x=5127',
		'title': '',
		'imageId': '68025660',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944726';

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